debug: add hot_reload handler logging
This commit is contained in:
parent
b7ca795127
commit
ba69fb84d1
@ -189,6 +189,8 @@ class PricingProgram:
|
||||
@staticmethod
|
||||
def on_hot_reload(data=None):
|
||||
"""Event handler for hot_reload event. Clears pricing cache."""
|
||||
from appPublic.log import debug
|
||||
debug(f'[pricing] on_hot_reload called, clearing pricing_data (data={data})')
|
||||
PricingProgram.pricing_data.clear()
|
||||
|
||||
@staticmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user