Revert "fix: add app parameter to start_cache_sync for aiohttp on_startup hook"

This reverts commit c0bbe63845e1f5ca255a0e2fe821fcf4f88786aa.
This commit is contained in:
yumoqing 2026-05-26 18:31:04 +08:00
parent c0bbe63845
commit 8fdb31a850

View File

@ -65,7 +65,7 @@ def _bind_rbac_events(dbpools, dbname, up):
debug(f'RBAC event bound: {event_name}')
async def start_cache_sync(app):
async def start_cache_sync():
"""Start cache_sync and register RBAC reload callbacks."""
env = ServerEnv()
cache_sync = get_cache_sync()