changeset 540:0f665a84b581

gevent doesn't work well with subprocess
author Matt Johnston <matt@ucc.asn.au>
date Sun, 10 May 2015 21:13:49 +0800
parents b78961d2e3a3
children bde53484df3c
files web/templog.py web/templog.wsgi
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/web/templog.py	Wed May 06 19:40:37 2015 +0800
+++ b/web/templog.py	Sun May 10 21:13:49 2015 +0800
@@ -29,7 +29,7 @@
         super(TemplogBottle, self).run(*args, **argm)
         print "ran custom bottle"
 
-bottle.default_app.push(TemplogBottle())
+#bottle.default_app.push(TemplogBottle())
 
 secure.setup_csrf()
 
--- a/web/templog.wsgi	Wed May 06 19:40:37 2015 +0800
+++ b/web/templog.wsgi	Sun May 10 21:13:49 2015 +0800
@@ -1,4 +1,4 @@
-from gevent import monkey; monkey.patch_all()
+#from gevent import monkey; monkey.patch_all()
 
 import os
 import sys