Browse Source

fix: (#10437 followup) fix conditions with DEBUG config (#10438)

tags/0.11.1
Bowen Liang 11 months ago
parent
commit
0e8ab0588f
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      api/app.py
  2. 1
    1
      api/app_factory.py

+ 1
- 1
api/app.py View File



from configs import dify_config from configs import dify_config


if dify_config.DEBUG:
if not dify_config.DEBUG:
from gevent import monkey from gevent import monkey


monkey.patch_all() monkey.patch_all()

+ 1
- 1
api/app_factory.py View File



from configs import dify_config from configs import dify_config


if dify_config.DEBUG:
if not dify_config.DEBUG:
from gevent import monkey from gevent import monkey


monkey.patch_all() monkey.patch_all()

Loading…
Cancel
Save