We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f6bab commit cf103fcCopy full SHA for cf103fc
dash/background_callback/managers/diskcache_manager.py
@@ -1,5 +1,5 @@
1
import traceback
2
-from contextvars import copy_context
+from contextvars import Context
3
import asyncio
4
from functools import partial
5
@@ -227,7 +227,8 @@ def _set_progress(progress_value):
227
def _set_props(_id, props):
228
cache.set(f"{result_key}-set_props", {_id: props})
229
230
- ctx = copy_context()
+ # Create a minimal context to avoid copying ThreadPoolExecutor from parent
231
+ ctx = Context()
232
233
def run():
234
c = AttributeDict(**context)
0 commit comments