Update notification service

This commit is contained in:
MacRimi
2026-02-24 19:52:27 +01:00
parent 46c04e5a81
commit f7fd728683
3 changed files with 83 additions and 67 deletions

View File

@@ -874,10 +874,6 @@ class NotificationManager:
"""Process incoming Proxmox webhook. Delegates to ProxmoxHookWatcher."""
if not self._hook_watcher:
self._hook_watcher = ProxmoxHookWatcher(self._event_queue)
# Share the webhook's delivery record with TaskWatcher
# so tasks can yield to richer webhook data for backup/replication.
if self._task_watcher:
self._task_watcher._webhook_delivered = self._hook_watcher._delivered
return self._hook_watcher.process_webhook(payload)
def get_webhook_secret(self) -> str: