fix: DBPools导入改 sqlor.dbpools

This commit is contained in:
pipeline-agent 2026-08-30 08:30:25 +08:00
parent 63fcac49ae
commit bff26de5ca

View File

@ -93,7 +93,7 @@ async def load_world_runtime(world_id):
if not world_id:
return {'ok': False, 'message': 'world_id is required', 'data': None}
try:
from sqlor import DBPools
from sqlor.dbpools import DBPools
from ahserver import ServerEnv
except Exception as exc:
return _degraded(world_id, 'backend import unavailable: ' + str(exc))