Skip to content

Commit

Permalink
fix: (langgenius#10437 followup) fix conditions with DEBUG config (la…
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 authored Nov 8, 2024
1 parent 0ebe198 commit 0e8ab05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from configs import dify_config

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

monkey.patch_all()
Expand Down
2 changes: 1 addition & 1 deletion api/app_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from configs import dify_config

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

monkey.patch_all()
Expand Down

0 comments on commit 0e8ab05

Please sign in to comment.