Skip to content

Commit deee515

Browse files
committed
Set uwsgi read/send timeouts to keepalive
Synchronize uwsgi timeouts with keepalive setting, otherwise they will remain at the default 60s.
1 parent 2a1071f commit deee515

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/etc/nginx/templates/default.conf.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ server {
2424
uwsgi_param HTTP_X_REQUEST_ID $request_id;
2525
uwsgi_param HTTP_HOST $host;
2626
include uwsgi_params;
27+
uwsgi_read_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
28+
uwsgi_send_timeout {{ .Env.KEEPALIVE_TIMEOUT }};
2729
}
2830
{{ else }}
2931
location / {

0 commit comments

Comments
 (0)