refactor: unify host threadpool boundary

This commit is contained in:
jxxghp
2026-08-24 03:28:10 +08:00
parent 22848eeda2
commit 371383f0a8
15 changed files with 59 additions and 21 deletions
+1 -1
View File
@@ -6,8 +6,8 @@ from typing import Optional, List, Dict, Any, Tuple, Union
import discord
from discord import app_commands
from fastapi.concurrency import run_in_threadpool
from app.runtime.execution import run_in_threadpool
from app.runtime.settings import RuntimeSettingsCompat
settings = RuntimeSettingsCompat()