debug: add hot_reload handler logging

This commit is contained in:
yumoqing 2026-06-01 22:53:07 +08:00
parent b72a487df7
commit 5809a81646

View File

@ -100,6 +100,8 @@ class UserPermissions:
def on_hot_reload(self, data=None): def on_hot_reload(self, data=None):
"""Event handler for hot_reload event. Clears all caches.""" """Event handler for hot_reload event. Clears all caches."""
from appPublic.log import debug
debug(f'[rbac] on_hot_reload called, clearing caches (data={data})')
self.ur_caches.clear() self.ur_caches.clear()
self.invalidate_rp_cache() self.invalidate_rp_cache()