mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 13:39:04 +08:00
parent
0ebe198ff1
commit
0e8ab0588f
@ -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()
|
||||||
|
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user