Tidying up log, correct HTTP status for error pages.

This commit is contained in:
2023-11-17 09:10:18 +00:00
parent 5deeaae5bd
commit 0cd7249712
2 changed files with 5 additions and 4 deletions
-2
View File
@@ -1,6 +1,5 @@
import asyncio
import datetime
import logging
import mimetypes
import threading
from concurrent.futures import ThreadPoolExecutor
@@ -33,7 +32,6 @@ app.exception(Exception)(handle_sanic_exception)
@app.before_server_start
async def main_start(app, loop):
config.load_config()
logger.setLevel(logging.INFO)
app.ctx.threadexec = ThreadPoolExecutor(
max_workers=8, thread_name_prefix="cista-ioworker"
)