fix monkeypatching

This commit is contained in:
Kenneth Kehl
2025-07-15 14:03:08 -07:00
parent 8924fb7683
commit 7deec9a6c6

View File

@@ -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