mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-19 16:27:37 +00:00
- Cache nodes list in pollPVEInstance and pass to sub-functions - Prevents multiple GetNodes() calls per polling cycle - Reduces API calls from ~5 per cycle to 1 per cycle - Fixes syslog spam on standalone PVE nodes trying to find cluster certificates - Fixes PBS 'Transport endpoint not connected' errors from excessive polling Previously we were calling GetNodes() in: - pollPVEInstance (main) - pollVMs - pollContainers - pollStorage - pollStorageBackups Now we call it once and pass the list to avoid duplicate API calls that trigger certificate checks on non-clustered nodes. |
||
|---|---|---|
| .. | ||
| metrics_history.go | ||
| monitor.go | ||
| poller.go | ||
| ratetracker.go | ||
| reload.go | ||