debug: add hot_reload handler logging

This commit is contained in:
yumoqing 2026-06-01 22:53:09 +08:00
parent b7ca795127
commit ba69fb84d1

View File

@ -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