Skip to content

Commit

Permalink
Merge pull request #42 from GIScience/development
Browse files Browse the repository at this point in the history
Replacing sync with gevent, closes #30
  • Loading branch information
TimMcCauley authored Aug 7, 2018
2 parents 8bd5395 + 37a2bbf commit 23aabc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gunicorn_config.py
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
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ pyproj==1.9.5.1
scrapy==1.5.0
gunicorn==19.7.1
flask-cors==3.0.3
gevent==1.3.5
git+https://github.com/lechup/imposm-parser.git@python3

0 comments on commit 23aabc2

Please sign in to comment.