cybertec-postgresql / vip-manager

Manages a virtual IP based on state kept in etcd or Consul
BSD 2-Clause "Simplified" License
207 stars 41 forks source link

wrap watch in a loop so it's possible to catch a canceled watch and restart it #230

Closed lukasertl closed 5 months ago

lukasertl commented 5 months ago

Fixes https://github.com/cybertec-postgresql/vip-manager/issues/228

pashagolub commented 5 months ago

Thanks for your help! There is no need in double loop. I updated #229 to handle canceled WATCH.

pashagolub commented 5 months ago

Supersede by #229