Browse Source

Flask-pypy: reduce processes.

Avoids OOM Killer on small memory machine (< 2.0GB)
INADA Naoki 12 years ago
parent
commit
df76f82207
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flask/run_pypy.py

+ 1 - 1
flask/run_pypy.py

@@ -10,5 +10,5 @@ import app
 container = tornado.wsgi.WSGIContainer(app.app)
 server = tornado.httpserver.HTTPServer(container)
 server.bind(options.port)
-server.start(16)
+server.start(8)
 tornado.ioloop.IOLoop.instance().start()