patch before all

This commit is contained in:
CakeCN
2025-09-14 16:10:08 +08:00
parent 17737d3cd0
commit 7766366367
2 changed files with 2 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
# app.py 0.1.1 rise to factory mode import eventlet
eventlet.monkey_patch()
from bootstrap import bootstrap_paths from bootstrap import bootstrap_paths
bootstrap_paths() bootstrap_paths()
from apps import create_app from apps import create_app

View File

@@ -6,8 +6,6 @@ from .views import register_blueprints
import atexit import atexit
import logging import logging
import signal import signal
import eventlet
eventlet.monkey_patch()
import threading import threading
_shutdown_once = threading.Event() _shutdown_once = threading.Event()