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 b7785cc commit d5ea8ffCopy full SHA for d5ea8ff
backend/onyx/utils/threadpool_concurrency.py
@@ -289,8 +289,8 @@ def run_async_sync(coro: Awaitable[T]) -> T:
289
context = contextvars.copy_context()
290
with concurrent.futures.ThreadPoolExecutor(max_workers=1) as executor:
291
future: concurrent.futures.Future[T] = executor.submit(
292
-+ context.run, asyncio.run, coro
293
-+ )
+ context.run, asyncio.run, coro
+ )
294
return future.result()
295
296
class TimeoutThread(threading.Thread, Generic[R]):
0 commit comments