parent
0ebe198ff1
commit
0e8ab0588f
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue