Commits

Denis Bilenko committed ca8c7a8

webchat: move monkey patching into application.py

  • Participants
  • Parent commits 17eb553

Comments (0)

Files changed (2)

File examples/webchat/application.py

 #!/usr/bin/python
+from gevent import monkey; monkey.patch_all()
 import os
 import traceback
 from django.core.handlers.wsgi import WSGIHandler

File examples/webchat/run_standalone.py

 #!/usr/bin/python
-from gevent import monkey; monkey.patch_all()
 from gevent.wsgi import WSGIServer
 from application import application
 print 'Serving on 8000...'