Ver Fonte

Run flask server multithreaded

Ben Firshman há 9 anos atrás
pai
commit
34acff585a
1 ficheiros alterados com 1 adições e 1 exclusões
  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)