towerops/lib
Graham McIntire f5ca3f0940
fix: make etcd watcher optional for graceful degradation
The app was crashing when the etcd watcher couldn't be created, even
though 2/3 etcd nodes were healthy and the connection succeeded.

Changes:
- Made watcher creation optional (nil if it fails)
- App now starts successfully even if watcher is unavailable
- Falls back to periodic rebalancing (60s intervals) instead of instant failover
- Changed error level from error to warning when watcher creation fails
- Added helpful context to warning message

This allows the app to run with degraded performance instead of crashing
completely when there are etcd cluster issues.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-24 15:27:28 -06:00
..
mix/tasks more tests 2026-01-22 11:51:35 -06:00
snmpkit credo fixes 2026-01-23 16:49:02 -06:00
towerops fix: make etcd watcher optional for graceful degradation 2026-01-24 15:27:28 -06:00
towerops_web improve cloud poller display 2026-01-24 13:33:01 -06:00
snmp_lib.ex bring in snmpkit 2026-01-23 12:52:17 -06:00
snmp_mgr.ex credo fixes 2026-01-23 14:01:52 -06:00
snmpkit.ex bring in snmpkit 2026-01-23 12:52:17 -06:00
towerops.ex init 2025-12-21 11:10:43 -06:00
towerops_web.ex separate out marketing layouts 2026-01-06 14:46:39 -06:00