mirror of
https://github.com/GSA/notifications-api.git
synced 2026-04-18 16:19:36 -04:00
@@ -1,13 +1,15 @@
|
||||
import os
|
||||
import socket
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
import eventlet
|
||||
import eventlet.debug as debug
|
||||
import gunicorn
|
||||
|
||||
eventlet.monkey_patch()
|
||||
eventlet.monkey_patch() # this has to be called before other imports or monkey patching doesn't happen
|
||||
|
||||
import os # noqa
|
||||
import socket # noqa
|
||||
import sys # noqa
|
||||
import traceback # noqa
|
||||
|
||||
import eventlet.debug as debug # noqa
|
||||
import gunicorn # noqa
|
||||
|
||||
# This will give us a better stack trace if blocking occurs
|
||||
debug.hub_blocking_detection(True)
|
||||
workers = 4
|
||||
|
||||
Reference in New Issue
Block a user