浏览代码

Run flask server multithreaded

Ben Firshman 9 年之前
父节点
当前提交
34acff585a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      voting-app/app.py

+ 1 - 1
voting-app/app.py

@@ -42,4 +42,4 @@ def hello():
 
 
 if __name__ == "__main__":
-    app.run(host='0.0.0.0', port=80, debug=True)
+    app.run(host='0.0.0.0', port=80, debug=True, threaded=True)