aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
diff options
context:
space:
mode:
authorzsloan2017-05-08 10:29:51 -0500
committerGitHub2017-05-08 10:29:51 -0500
commitb41898f11cd20b063db1df41a34f6515f331c21b (patch)
treeaaeb0ce667acf6f6bdadf212b935d6c5b9baac19 /wqflask/runserver.py
parentd97fdc18359233f07c1a1c7b83fe7e88eb225043 (diff)
parent6b64fd15c96da58a5a8119ac6d0d50efb6fc1ef7 (diff)
downloadgenenetwork2-b41898f11cd20b063db1df41a34f6515f331c21b.tar.gz
Merge pull request #253 from lyan6/master
renamed: gn2_lei.conf -> gn2-lei.conf
Diffstat (limited to 'wqflask/runserver.py')
-rw-r--r--wqflask/runserver.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py
index 0342b7ad..50805643 100644
--- a/wqflask/runserver.py
+++ b/wqflask/runserver.py
@@ -11,6 +11,9 @@ import logging
import utility.logger
logger = utility.logger.getLogger(__name__ )
+import signal
+signal.signal(signal.SIGPIPE, signal.SIG_DFL)
+
BLUE = '\033[94m'
GREEN = '\033[92m'
BOLD = '\033[1m'
@@ -50,5 +53,5 @@ else: # staging/production modes
debug=False,
use_debugger=False,
threaded=True,
- processes=8,
+ processes=0,
use_reloader=True)