Browse Source

Increase envoy timeout for API routes to 120s rather than 15s, to match Koa and allw longer connections for downloads

master
Andrew Kingston 5 years ago
parent
commit
e21e1d10e1
  1. 1
      hosting/envoy.dev.yaml.hbs
  2. 1
      hosting/envoy.yaml

1
hosting/envoy.dev.yaml.hbs

@ -41,6 +41,7 @@ static_resources:
- match: { prefix: "/api/" } - match: { prefix: "/api/" }
route: route:
cluster: server-dev cluster: server-dev
timeout: 120s
- match: { prefix: "/app_" } - match: { prefix: "/app_" }
route: route:

1
hosting/envoy.yaml

@ -58,6 +58,7 @@ static_resources:
- match: { prefix: "/api/" } - match: { prefix: "/api/" }
route: route:
cluster: app-service cluster: app-service
timeout: 120s
- match: { prefix: "/worker/" } - match: { prefix: "/worker/" }
route: route:

Loading…
Cancel
Save