From 89cd9fb6113770cdda3c458e80fa601eb1569173 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Sat, 8 Oct 2022 08:17:24 -0400 Subject: [PATCH] Increase gunicorn's worker timeout since some /admin commands take a long time --- setup/management.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/management.sh b/setup/management.sh index 1d1f4cc5..7fe4da25 100755 --- a/setup/management.sh +++ b/setup/management.sh @@ -78,6 +78,8 @@ rm -f /tmp/bootstrap.zip # Create an init script to start the management daemon and keep it # running after a reboot. +# Set a long timeout since some commands take a while to run, matching +# the timeout we set for PHP (fastcgi_read_timeout in the nginx confs). # Note: Authentication currently breaks with more than 1 gunicorn worker. cat > $inst_dir/start <