Skip to content

Commit 772c047

Browse files
committed
Shorten timeout for shutdown and revert operations
1 parent 04175d4 commit 772c047

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ezmsg/core/backendprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ async def shutdown_units() -> None:
311311

312312
shutdown_future = asyncio.run_coroutine_threadsafe(shutdown_units(), loop=loop)
313313
try:
314-
shutdown_future.result(timeout=10.0)
314+
shutdown_future.result(timeout=5.0)
315315
except KeyboardInterrupt:
316316
shutdown_future.result()
317317
except TimeoutError:
@@ -322,7 +322,7 @@ async def shutdown_units() -> None:
322322

323323
revert_future = asyncio.run_coroutine_threadsafe(context.revert(), loop=loop)
324324
try:
325-
revert_future.result(timeout=10.0)
325+
revert_future.result(timeout=5.0)
326326
except KeyboardInterrupt:
327327
revert_future.result()
328328
except TimeoutError:

0 commit comments

Comments
 (0)