Add files via upload

This commit is contained in:
Egor
2026-01-17 01:49:56 +03:00
committed by GitHub
parent c61cd0b42e
commit ac87d47bf3
2 changed files with 2 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ class RequestLoggingMiddleware(BaseHTTPMiddleware):
finally:
duration_ms = (monotonic() - start) * 1000
status = response.status_code if response else "error"
logger.info(
logger.debug(
"%s %s -> %s (%.2f ms)",
request.method,
request.url.path,

View File

@@ -32,6 +32,7 @@ class WebAPIServer:
log_level=settings.LOG_LEVEL.lower(),
workers=workers,
lifespan="on",
access_log=False,
)
self._server = uvicorn.Server(self._config)
self._task: Optional[asyncio.Task[None]] = None