patch before all
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user