Don't restart on config changes.
This commit is contained in:
parent
3c79f06d2c
commit
888bc97264
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user