From c4fadd0013de3054e05b490a40e7c7cb4ef972c1 Mon Sep 17 00:00:00 2001 From: Carson Davis Date: Wed, 18 Dec 2024 16:07:18 -0600 Subject: [PATCH] move the timeout to the services section --- compose/production/traefik/traefik.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/compose/production/traefik/traefik.yml b/compose/production/traefik/traefik.yml index 9c1227e7..731abca2 100644 --- a/compose/production/traefik/traefik.yml +++ b/compose/production/traefik/traefik.yml @@ -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/