From dbce56407ba90a19d51895441003cddfcff91ad1 Mon Sep 17 00:00:00 2001 From: Matt Boyas Date: Tue, 17 Sep 2024 11:57:28 +0200 Subject: [PATCH 1/3] set gunicorn timeout for downloads to 0 'Setting it to 0 has the effect of infinite timeouts by disabling timeouts for all workers entirely.' --- compose/django/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/django/start b/compose/django/start index eb404c5e..9b12d6fc 100644 --- a/compose/django/start +++ b/compose/django/start @@ -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 \ No newline at end of file +/usr/local/bin/gunicorn config.wsgi --bind=0.0.0.0:5000 --workers=$((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout=0 --chdir=/app \ No newline at end of file From 934dec2951e5b12cd7ec96a8b6f94c91808e25dd Mon Sep 17 00:00:00 2001 From: Matt Boyas Date: Tue, 17 Sep 2024 11:58:10 +0200 Subject: [PATCH 2/3] updated email request timeout from 5 to 30 --- config/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/base.py b/config/settings/base.py index fb5729da..e152fd64 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -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 " From b109c26494b0e3d9f29ebae5829165dd5e156922 Mon Sep 17 00:00:00 2001 From: Matt Boyas Date: Tue, 17 Sep 2024 12:00:34 +0200 Subject: [PATCH 3/3] updated copyright year in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07fbc317..49596577 100644 --- a/README.md +++ b/README.md @@ -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.