diff options
-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") |