Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: increase timeout #181

Merged
merged 2 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment/uwsgi/uwsgi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ harakiri-verbose = true
# No global HARAKIRI, using only user HARAKIRI, because export overwrites it
# Cannot overwrite global HARAKIRI with user's: https://git.io/fjYuD
# harakiri = 45
http-timeout = 45
socket-timeout = 45
http-timeout = 600
socket-timeout = 600
worker-reload-mercy = 45
reload-mercy = 45
mule-reload-mercy = 45
Expand Down
2 changes: 1 addition & 1 deletion peregrine/resources/submission/graphql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from .util import set_session_timeout


GRAPHQL_TIMEOUT = float(os.environ.get("GRAPHQL_TIMEOUT", 20)) # seconds
GRAPHQL_TIMEOUT = float(os.environ.get("GRAPHQL_TIMEOUT", 600)) # seconds
TIMEOUT_MESSAGE = """

Query exceeded {} second timeout. Please reduce query complexity and
Expand Down