Skip to content

Commit

Permalink
Change gunicorn to a single worker with 300s timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed May 14, 2023
1 parent c5552fd commit 597b273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn-start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
source /home/mrouser/anaconda3/etc/profile.d/conda.sh
conda activate uwmro_instruments
gunicorn -w 4 "app:app"
gunicorn --timeout 300 -w 1 "app:app"

0 comments on commit 597b273

Please sign in to comment.