From 888bc9726463771407fe8ae1d1c59be8d62104b6 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 21 Nov 2023 12:35:56 +0000 Subject: [PATCH] Don't restart on config changes. --- cista/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cista/app.py b/cista/app.py index bdacb03..7cad9a4 100644 --- a/cista/app.py +++ b/cista/app.py @@ -36,6 +36,7 @@ app.exception(Exception)(handle_sanic_exception) async def main_start(app, loop): tracemalloc.start() config.load_config() + print(config.config, config.config.public) app.ctx.threadexec = ThreadPoolExecutor( max_workers=3, thread_name_prefix="cista-ioworker" )