Explorar el Código

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

tags/0.11.1
Bowen Liang hace 11 meses
padre
commit
0e8ab0588f
No account linked to committer's email address
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      api/app.py
  2. 1
    1
      api/app_factory.py

+ 1
- 1
api/app.py Ver fichero

@@ -2,7 +2,7 @@ import os

from configs import dify_config

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

monkey.patch_all()

+ 1
- 1
api/app_factory.py Ver fichero

@@ -2,7 +2,7 @@ import os

from configs import dify_config

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

monkey.patch_all()

Cargando…
Cancelar
Guardar