Browse Source

removes unneeded gunicorn conf file

Keith Newman 10 years ago
parent
commit
89d81b898c
1 changed files with 0 additions and 25 deletions
  1. 0 25
      frameworks/Python/klein/gunicorn_conf.py

+ 0 - 25
frameworks/Python/klein/gunicorn_conf.py

@@ -1,25 +0,0 @@
-import multiprocessing
-import os
-import sys
-
-_is_pypy = hasattr(sys, 'pypy_version_info')
-_is_travis = os.environ.get('TRAVIS') == 'true'
-
-workers = multiprocessing.cpu_count() * 3
-if _is_travis:
-    workers = 2
-
-bind = "0.0.0.0:8080"
-keepalive = 120
-errorlog = '-'
-pidfile = 'gunicorn.pid'
-
-if _is_pypy:
-    worker_class = "tornado"
-else:
-    worker_class = "meinheld.gmeinheld.MeinheldWorker"
-
-    def post_fork(server, worker):
-        # Disalbe access log
-        import meinheld.server
-        meinheld.server.set_access_logger(None)