From 00f1eeece79fa30e6fe35d290b16cb754ae51403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=93=D0=B0=D1=80?= =?UTF-8?q?=D0=B1=D0=B0=D1=80?= Date: Wed, 18 Sep 2024 17:59:45 +0300 Subject: [PATCH] Do not wait in process pool shutdown --- ch_backup/storage/async_pipeline/base_pipeline/exec_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch_backup/storage/async_pipeline/base_pipeline/exec_pool.py b/ch_backup/storage/async_pipeline/base_pipeline/exec_pool.py index de23b12..ed54613 100644 --- a/ch_backup/storage/async_pipeline/base_pipeline/exec_pool.py +++ b/ch_backup/storage/async_pipeline/base_pipeline/exec_pool.py @@ -101,4 +101,4 @@ def __del__(self) -> None: """ Shutdown pool explicitly to prevent the program from hanging in case of ungraceful termination. """ - self.shutdown() + self.shutdown(graceful=False)