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

DRAFT: Timeout fix for email and download #291

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Foundation (e.g., DHIS-2 export) and The Ohio State University (e.g., InterVA5,

## Copyright & License

Copyright © 2020-2023, The MITRE Corporation. Licensed under Apache 2.0
Copyright © 2020-2024, The MITRE Corporation. Licensed under Apache 2.0

The source of this information is the Data for Health Initiative, a joint
project of the CDC Foundation and Bloomberg Philanthropies.
Expand Down
2 changes: 1 addition & 1 deletion compose/django/start
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ echo "Initializing groups..."
python /app/manage.py initialize_groups

echo "Starting gunicorn..."
/usr/local/bin/gunicorn config.wsgi --bind=0.0.0.0:5000 --workers=$((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout=181 --chdir=/app
/usr/local/bin/gunicorn config.wsgi --bind=0.0.0.0:5000 --workers=$((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout=0 --chdir=/app
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
EMAIL_HOST = email_config["EMAIL_HOST"]
EMAIL_PORT = email_config["EMAIL_PORT"]
EMAIL_FILE_PATH = email_config["EMAIL_FILE_PATH"]
EMAIL_TIMEOUT = 5
EMAIL_TIMEOUT = 30

DEFAULT_FROM_EMAIL = env(
"DJANGO_DEFAULT_FROM_EMAIL", default="VA Explorer <[email protected]>"
Expand Down
Loading