Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit ccb6870

Browse files
committed
Tune timeout settings
1 parent 59e5402 commit ccb6870

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

magic-entrypoint.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
TEMPLATE = """
1818
backend talk_{index}
1919
server stupid_{index} {talk}
20+
2021
frontend listen_{index}
2122
bind {listen}
2223
default_backend talk_{index}
@@ -27,9 +28,12 @@
2728
defaults
2829
log global
2930
mode tcp
30-
timeout client 10m
31-
timeout connect 10s
32-
timeout server 10m
31+
timeout client 5s
32+
timeout client-fin 5s
33+
timeout connect 5s
34+
timeout server 5s
35+
timeout server-fin 5s
36+
timeout tunnel 5s
3337
"""
3438

3539
if len(LISTENS) != len(TALKS):

0 commit comments

Comments
 (0)