Skip to content

Commit

Permalink
move the timeout to the services section
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonDavis committed Dec 18, 2024
1 parent b44a303 commit c4fadd0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions compose/production/traefik/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,18 @@ http:
loadBalancer:
servers:
- url: http://django:5000
# Increase server timeout for long-running requests
server:
timeout: "300s"

flower:
# Flower service
loadBalancer:
servers:
- url: http://flower:5555

serversTransport:
defaultTransport:
requestTimeout: 90s
# Increase server timeout for long-running requests
server:
timeout: "300s"

providers:
# https://docs.traefik.io/master/providers/file/
Expand Down

0 comments on commit c4fadd0

Please sign in to comment.