debug: add hot_reload handler logging

This commit is contained in:
yumoqing 2026-06-01 22:53:05 +08:00
parent 7c97676285
commit 87d2cd409d

View File

@ -67,6 +67,8 @@ class UAPIData:
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'[uapi] on_hot_reload called, clearing caches (data={data})')
self.apidata.clear() self.apidata.clear()
self.apikeys.clear() self.apikeys.clear()
self.org_users.clear() self.org_users.clear()