mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 17:33:09 +08:00
🔧 chore(conftest.py): comment out unused monkeypatching of USE_CELERY variable to improve code readability and maintainability
This commit is contained in:
@ -106,7 +106,7 @@ def distributed_client_fixture(session: Session, monkeypatch, distributed_env):
|
||||
|
||||
# monkeypatch langflow.services.task.manager.USE_CELERY to True
|
||||
monkeypatch.setenv("LANGFLOW_AUTO_LOGIN", False)
|
||||
monkeypatch.setattr(manager, "USE_CELERY", True)
|
||||
# monkeypatch.setattr(manager, "USE_CELERY", True)
|
||||
monkeypatch.setattr(
|
||||
celery_app, "celery_app", celery_app.make_celery("langflow", Config)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user