debug: add hot_reload handler logging
This commit is contained in:
parent
7c97676285
commit
87d2cd409d
@ -67,6 +67,8 @@ class UAPIData:
|
||||
|
||||
def on_hot_reload(self, data=None):
|
||||
"""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.apikeys.clear()
|
||||
self.org_users.clear()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user