mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 01:32:00 +01:00
Proxmox Mail Gateway (PMG) connections that failed client creation during startup were permanently omitted from polling because retryFailedConnections only checked PVE and PBS clients, initPMGClients omitted offline state and scheduler-health error recording, and pmg.NewClient hardcoded context.Background() during password ticket authentication. Add pmg.NewClientWithContext (normalizing the host URL before logging HTTP warnings), synchronize PMG client installation via replacePMGClient, publish offline state and scheduler/staleness failures on startup and reconnect errors, wait for the first connectivity poll before marking PMG healthy, and include non-paused PMG instances in retryFailedConnections. Change-source: pulse-maintainer