mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-17 01:20:34 +00:00
Add files via upload
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user