Skip to content

Commit ba82c80

Browse files
authored
feat: Increase nginx proxy_read_timeout to 90s (#4368)
* Increase proxy_read_timeout to 90s * Increase sentry.conf.example.py proxy_read_timeout doc
1 parent 170a9de commit ba82c80

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ http {
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 {

sentry/sentry.conf.example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)