Skip to content

Commit

Permalink
add timeout to the services layer
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonDavis committed Dec 18, 2024
1 parent 094e6b0 commit 5164e40
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions compose/production/traefik/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ entryPoints:
web-secure:
# https
address: ":443"
http:
middlewares:
- timeouts

flower:
address: ":5555"
Expand Down Expand Up @@ -59,15 +56,14 @@ http:
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
headers:
hostsProxyHeaders: ["X-CSRFToken"]
timeouts:
headers:
readTimeout: "300s"

services:
django:
loadBalancer:
servers:
- url: http://django:5000
serversTransport:
serverTimeout: "300s"

flower:
loadBalancer:
Expand Down

0 comments on commit 5164e40

Please sign in to comment.