mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 00:06:16 -04:00
add eventlet debugging
This commit is contained in:
@@ -6,6 +6,9 @@ import traceback
|
|||||||
import eventlet
|
import eventlet
|
||||||
import gunicorn
|
import gunicorn
|
||||||
|
|
||||||
|
eventlet.monkey_patch()
|
||||||
|
# This will give us a better stack trace if blocking occurs
|
||||||
|
eventlet.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