Skip to content

Commit

Permalink
Don't install gevent to project (unused).
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed May 21, 2024
1 parent 2c8f950 commit 40f0839
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 455 deletions.
2 changes: 1 addition & 1 deletion gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

bind = ":8080"
# Don't start too many workers:
workers = min(multiprocessing.cpu_count(), 8)
workers = min(multiprocessing.cpu_count(), 4)
# Longer worker timout:
timeout = 90
# Give workers an expiry:
Expand Down
Loading

0 comments on commit 40f0839

Please sign in to comment.