From 71eb252b8d9ba5cd607b368e3f55a2d2b6bdbf3e Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 21 Nov 2023 12:13:57 +0000 Subject: [PATCH] Restrict the number of workers. --- cista/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cista/app.py b/cista/app.py index 7a1fffa..bdacb03 100644 --- a/cista/app.py +++ b/cista/app.py @@ -37,7 +37,7 @@ async def main_start(app, loop): tracemalloc.start() config.load_config() app.ctx.threadexec = ThreadPoolExecutor( - max_workers=8, thread_name_prefix="cista-ioworker" + max_workers=3, thread_name_prefix="cista-ioworker" ) await watching.start(app, loop)