fix: add app parameter to start_cache_sync for aiohttp on_startup hook
This commit is contained in:
parent
835a2ff3f7
commit
c0bbe63845
@ -65,7 +65,7 @@ def _bind_rbac_events(dbpools, dbname, up):
|
||||
debug(f'RBAC event bound: {event_name}')
|
||||
|
||||
|
||||
async def start_cache_sync():
|
||||
async def start_cache_sync(app):
|
||||
"""Start cache_sync and register RBAC reload callbacks."""
|
||||
env = ServerEnv()
|
||||
cache_sync = get_cache_sync()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user