Skip to content

Commit 40ccac4

Browse files
authored
Merge pull request #14 from secondlife/signal/uwsgi-timeouts
Set uwsgi read/send timeouts to keepalive
2 parents 2a1071f + deee515 commit 40ccac4

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)