Skip to content

Commit

Permalink
gevent ftw
Browse files Browse the repository at this point in the history
  • Loading branch information
beaugunderson committed Feb 8, 2014
1 parent c5cfd09 commit 25035f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from gevent.monkey import patch_all
patch_all()

import random
import urlparse

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gevent==1.0
greenlet==0.4.2
httplib2==0.8
itsdangerous==0.23
mysql-connector-python==1.1.5
nose==1.3.0
pystache==0.5.3
python-dateutil==2.1
Expand Down
1 change: 1 addition & 0 deletions uwsgi.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[uwsgi]
die-on-term = true
gevent = 100
http-socket = :$(PORT)
lazy = true
master = true
Expand Down

0 comments on commit 25035f7

Please sign in to comment.