ソースを参照

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)