Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
ref(gunicorn): use gaiohttp workers
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Jun 10, 2016
1 parent da2a0fb commit 53de89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/deis/gunicorn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
raise ValueError()
except (NameError, ValueError):
workers = (os.cpu_count() or 4) * 2 + 1

worker_class = 'gaiohttp'
pythonpath = dirname(dirname(dirname(realpath(__file__))))
timeout = 1200
pidfile = '/tmp/gunicorn.pid'
Expand Down
1 change: 1 addition & 0 deletions rootfs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Deis controller requirements
aiohttp==0.21.6
backoff==1.2.1
Django==1.9.7
django-cors-headers==1.1.0
Expand Down

0 comments on commit 53de89e

Please sign in to comment.