Promote develop → main (2026-07-25 23:31 UTC) #53

Zusammengeführt
IntelSight_Admin hat 7 Commits von develop nach main 2026-07-26 01:31:20 +02:00 zusammengeführt
Nur Änderungen aus Commit 17b1886f25 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@@ -468,7 +468,12 @@ async def _check_budget_warning(
if available <= 0 or lic.get("budget_warning_sent"):
return
threshold = lic.get("budget_warning_percent") or 80
# 0 schaltet die Warnung bewusst aus, NULL faellt auf die Voreinstellung 80.
threshold = lic.get("budget_warning_percent")
if threshold is None:
threshold = 80
if threshold <= 0:
return
percent = (used / available) * 100
if percent < threshold:
return