Browse Source

bottle, flask: Increase process.

INADA Naoki 12 years ago
parent
commit
401575b600
6 changed files with 6 additions and 6 deletions
  1. 1 1
      bottle/setup.py
  2. 1 1
      bottle/setup_py3.py
  3. 1 1
      bottle/setup_pypy.py
  4. 1 1
      flask/setup.py
  5. 1 1
      flask/setup_py3.py
  6. 1 1
      flask/setup_pypy.py

+ 1 - 1
bottle/setup.py

@@ -17,7 +17,7 @@ def start(args):
         "app:app",
         "app:app",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-b", "0.0.0.0:8080",
         "-b", "0.0.0.0:8080",
-        '-w', str(NCPU*2),
+        '-w', str(NCPU*3),
         "--log-level=critical"],
         "--log-level=critical"],
         cwd="bottle")
         cwd="bottle")
     return 0
     return 0

+ 1 - 1
bottle/setup_py3.py

@@ -17,7 +17,7 @@ def start(args):
         "app:app",
         "app:app",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-b", "0.0.0.0:8080",
         "-b", "0.0.0.0:8080",
-        '-w', str(NCPU*2),
+        '-w', str(NCPU*3),
         "--log-level=critical"],
         "--log-level=critical"],
         cwd="bottle")
         cwd="bottle")
     return 0
     return 0

+ 1 - 1
bottle/setup_pypy.py

@@ -17,7 +17,7 @@ def start(args):
         "app:app",
         "app:app",
         "-k", "tornado",
         "-k", "tornado",
         "-b", "0.0.0.0:8080",
         "-b", "0.0.0.0:8080",
-        '-w', str(NCPU*2),
+        '-w', str(NCPU*3),
         "--log-level=critical"],
         "--log-level=critical"],
         cwd="bottle")
         cwd="bottle")
     return 0
     return 0

+ 1 - 1
flask/setup.py

@@ -17,7 +17,7 @@ def start(args):
         "app:app",
         "app:app",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-b", "0.0.0.0:8080",
         "-b", "0.0.0.0:8080",
-        '-w', str(NCPU*2),
+        '-w', str(NCPU*3),
         "--log-level=critical"],
         "--log-level=critical"],
         cwd="flask")
         cwd="flask")
     return 0
     return 0

+ 1 - 1
flask/setup_py3.py

@@ -17,7 +17,7 @@ def start(args):
         "app:app",
         "app:app",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-k", "meinheld.gmeinheld.MeinheldWorker",
         "-b", "0.0.0.0:8080",
         "-b", "0.0.0.0:8080",
-        '-w', str(NCPU*2),
+        '-w', str(NCPU*3),
         "--log-level=critical"],
         "--log-level=critical"],
         cwd="flask")
         cwd="flask")
     return 0
     return 0

+ 1 - 1
flask/setup_pypy.py

@@ -17,7 +17,7 @@ def start(args):
         "app:app",
         "app:app",
         '-k', 'tornado',
         '-k', 'tornado',
         "-b", "0.0.0.0:8080",
         "-b", "0.0.0.0:8080",
-        '-w', str(NCPU*2),
+        '-w', str(NCPU*3),
         "--log-level=critical"],
         "--log-level=critical"],
         cwd="flask")
         cwd="flask")
     return 0
     return 0