As discoverd in #167, it can happen that a slave request from a master is removed because it had a temporary heartbeat failure. In that case, the master will not gain any slaves again.
The easiest solution for this is to make the slaves ignore stale slave requests, instead of removing them.
Another possibility would be to periodically update the slave requests.
As discoverd in #167, it can happen that a slave request from a master is removed because it had a temporary heartbeat failure. In that case, the master will not gain any slaves again.
The easiest solution for this is to make the slaves ignore stale slave requests, instead of removing them.
Another possibility would be to periodically update the slave requests.