File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 proxy_set_header X-Forwarded-For $remote_addr ;
6363 proxy_set_header X-Forwarded-Proto $scheme ;
6464 proxy_set_header X-Request-Id $request_id ;
65- proxy_read_timeout 30s ;
65+ proxy_read_timeout 90s ;
6666 proxy_send_timeout 5s ;
6767
6868 upstream relay {
Original file line number Diff line number Diff line change @@ -305,9 +305,9 @@ def get_internal_network():
305305 # The `harakiri` option terminates requests that take longer than the
306306 # defined amount of time (in seconds) which can help avoid stuck workers
307307 # caused by GIL issues or deadlocks.
308- # Ensure nginx `proxy_read_timeout` configuration (default: 30 )
308+ # Ensure nginx `proxy_read_timeout` configuration (default: 90 )
309309 # on your `nginx.conf` file to be at least 5 seconds longer than this.
310- # "harakiri": 25 ,
310+ # "harakiri": 85 ,
311311 # Some stuff so uwsgi will cycle workers sensibly
312312 "max-requests" : 100000 ,
313313 "max-requests-delta" : 500 ,
You can’t perform that action at this time.
0 commit comments