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

This commit is contained in:
Bowen Liang 2024-11-08 09:42:53 +08:00 committed by GitHub
parent 0ebe198ff1
commit 0e8ab0588f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import os
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()

View File

@ -2,7 +2,7 @@ import os
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()