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