diff options
author | Arun Isaac | 2024-01-09 17:00:45 +0000 |
---|---|---|
committer | Arun Isaac | 2024-01-09 17:00:45 +0000 |
commit | 341369ad6b493627bd43aab72df691f56fa30492 (patch) | |
tree | 377e30a1502239a4b281b34407ec451e90003a47 | |
parent | dcd2f482e3d1be727d5cd4b764f83424bd14e483 (diff) | |
download | gn-machines-341369ad6b493627bd43aab72df691f56fa30492.tar.gz |
genenetwork: Increase gunicorn timeout for genenetwork3.
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps):
Increase gunicorn timeout for genenetwork3 to 1200 seconds.
-rw-r--r-- | genenetwork/services/genenetwork.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index 9249dd9..ce930c0 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -195,15 +195,16 @@ object." (source gn2-secrets) (target source))))) (gunicorn-app - ;; TODO: gunicorn's default 30 second timeout is - ;; insufficient for Fahamu AI endpoints and results in - ;; worker timeout errors. Set timeout to 1200 seconds. (name "genenetwork3") (package genenetwork3) (sockets (list (forge-ip-socket (port gn3-port)))) (wsgi-app-module "gn3.app:create_app()") (workers 20) + ;; gunicorn's default 30 second timeout is insufficient + ;; for Fahamu AI endpoints and results in worker timeout + ;; errors. + (timeout 1200) (environment-variables (list (environment-variable (name "GN3_CONF") |