Skip to content

Commit 149e3c0

Browse files
committed
fix app1
1 parent cad8137 commit 149e3c0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/background_callback/app1.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
import os
2-
31
from dash import Dash, Input, Output, dcc, html
42
import time
53

64
from tests.background_callback.utils import get_background_callback_manager
75

8-
9-
os.environ["LONG_CALLBACK_MANAGER"] = "celery"
10-
os.environ["REDIS_URL"] = "redis://localhost:6379"
11-
redis_url = os.environ["REDIS_URL"].rstrip("/")
12-
os.environ["CELERY_BROKER"] = f"{redis_url}/0"
13-
os.environ["CELERY_BACKEND"] = f"{redis_url}/1"
14-
156
background_callback_manager = get_background_callback_manager()
167
handle = background_callback_manager.handle
178

0 commit comments

Comments
 (0)