mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-15 07:18:09 -04:00
@@ -4,11 +4,12 @@ import sys
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
import eventlet
|
import eventlet
|
||||||
|
import eventlet.debug as debug
|
||||||
import gunicorn
|
import gunicorn
|
||||||
|
|
||||||
eventlet.monkey_patch()
|
eventlet.monkey_patch()
|
||||||
# This will give us a better stack trace if blocking occurs
|
# This will give us a better stack trace if blocking occurs
|
||||||
eventlet.debug.hub_blocking_detection(True)
|
debug.hub_blocking_detection(True)
|
||||||
workers = 4
|
workers = 4
|
||||||
worker_class = "eventlet"
|
worker_class = "eventlet"
|
||||||
worker_connections = 256
|
worker_connections = 256
|
||||||
|
|||||||
Reference in New Issue
Block a user