Skip to content

Commit 5164e40

Browse files
committed
add timeout to the services layer
1 parent 094e6b0 commit 5164e40

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

compose/production/traefik/traefik.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ entryPoints:
1414
web-secure:
1515
# https
1616
address: ":443"
17-
http:
18-
middlewares:
19-
- timeouts
2017

2118
flower:
2219
address: ":5555"
@@ -59,15 +56,14 @@ http:
5956
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
6057
headers:
6158
hostsProxyHeaders: ["X-CSRFToken"]
62-
timeouts:
63-
headers:
64-
readTimeout: "300s"
6559

6660
services:
6761
django:
6862
loadBalancer:
6963
servers:
7064
- url: http://django:5000
65+
serversTransport:
66+
serverTimeout: "300s"
7167

7268
flower:
7369
loadBalancer:

0 commit comments

Comments
 (0)