05/22 Implement license version

This commit is contained in:
2026-05-22 16:31:19 -04:00
parent e6657e60cf
commit 687216e332
16 changed files with 1373 additions and 37 deletions
+4
View File
@@ -143,6 +143,10 @@ def check_sla_breaches(app):
is re-opened, ensuring fresh notifications if the issue resurfaces.
"""
with app.app_context():
from app.services.license_service import feature_enabled
if not feature_enabled('sla'):
logger.debug('[SLA] Skipped — SLA feature not enabled on current license tier.')
return
try:
_run_sla_check(app)
except Exception as exc: