-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacing sync in favor of gevent flask, closes #30
- Loading branch information
TimMcCauley
committed
Aug 6, 2018
1 parent
88ea92d
commit 37a2bbf
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
bind = "0.0.0.0:5000" | ||
# Generally we recommend (2 x $num_cores) + 1 as the number of workers to start off with | ||
workers = 2 | ||
workers = 4 | ||
worker_class = 'gevent' | ||
worker_connections = 1000 | ||
timeout = 30 | ||
keepalive = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters