From 573cd15e77e88f7d0efc986a63d8062176c7aa88 Mon Sep 17 00:00:00 2001 From: jyong <718720800@qq.com> Date: Tue, 3 Jun 2025 16:52:21 +0800 Subject: [PATCH] r2 --- api/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app.py b/api/app.py index 34889cff67..14807f5031 100644 --- a/api/app.py +++ b/api/app.py @@ -17,8 +17,8 @@ else: # It seems that JetBrains Python debugger does not work well with gevent, # so we need to disable gevent in debug mode. # If you are using debugpy and set GEVENT_SUPPORT=True, you can debug with gevent. - if (flask_debug := os.environ.get("FLASK_DEBUG", "0")) and flask_debug.lower() in {"false", "0", "no"}: - from gevent import monkey + # if (flask_debug := os.environ.get("FLASK_DEBUG", "0")) and flask_debug.lower() in {"false", "0", "no"}: + #from gevent import monkey # # # gevent # monkey.patch_all()