Browse Source

small error in flask setup.py with worker-class

Patrick Falls 12 years ago
parent
commit
c7b833257d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flask/setup.py

+ 1 - 1
flask/setup.py

@@ -5,7 +5,7 @@ import os
 
 def start(args):
   setup_util.replace_text("flask/app.py", "DBHOSTNAME", args.database_host)
-  subprocess.Popen("gunicorn app:app -b 0.0.0.0:8080 -w " + str((args.max_threads * 2)) + " --worker-class=gevent --preload=True --log-level=critical", shell=True, cwd="flask")
+  subprocess.Popen("gunicorn app:app -k gevent -b 0.0.0.0:8080 -w " + str((args.max_threads * 2)) + " --preload --log-level=critical", shell=True, cwd="flask")
   
   return 0