Switched event loop to uvloop for improved async performance.
Audit / Dependencies (push) Successful in 7s
CI / Formatting (push) Failing after 4s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 12s
CI / Tests (Python 3.13) (push) Successful in 12s
CI / Tests (Python 3.14) (push) Successful in 9s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 4s

This commit is contained in:
2026-04-05 10:04:28 -04:00
parent 7957ceabfa
commit 2d2214c671
3 changed files with 38 additions and 1 deletions
+3 -1
View File
@@ -26,6 +26,8 @@ import sys
from pathlib import Path
from typing import Any
import uvloop
from . import __version__
from .api.config import Config
from .bot import Owlbot, StartupError
@@ -223,7 +225,7 @@ Examples:
logger.info("Received shutdown signal.")
try:
asyncio.run(_run())
uvloop.run(_run())
except StartupError as e:
logger.error(str(e))
sys.exit(1)