aboutsummaryrefslogtreecommitdiff
path: root/wqflask/runserver.py
diff options
context:
space:
mode:
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)