From 341369ad6b493627bd43aab72df691f56fa30492 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 9 Jan 2024 17:00:45 +0000 Subject: genenetwork: Increase gunicorn timeout for genenetwork3. * genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Increase gunicorn timeout for genenetwork3 to 1200 seconds. --- genenetwork/services/genenetwork.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'genenetwork') 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") -- cgit v1.2.3