Update notification service

This commit is contained in:
MacRimi
2026-03-23 20:14:25 +01:00
parent ab34fb08c1
commit c7ef51a73c
2 changed files with 50 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ except ImportError:
# To analyze: grep "\[PERF\]" /var/log/proxmenux-monitor.log | sort -t'=' -k2 -n
# Set to False or remove this section after debugging
# ============================================================================
DEBUG_PERF = True
DEBUG_PERF = False
def _perf_log(section: str, elapsed_ms: float):
"""Log performance timing for a section. Only logs if DEBUG_PERF is True."""