Hello,
I run snapserver on a docker swarm and I've noticed that whenever the server instance gets migrated from one node to the other, snapclient doesn't try to discover the new server.
My proposed solution to this is to add a number of connection attempts after which snapclient tries to find a new server through mdns.
I added two arguments:
--connection-attempts (defaults to -1)
controls how many times snapclient should try to reconnect before trying to discover a new server.
--mdns (defaults to true)
controls whether mdns should be used or not
Hello, I run snapserver on a docker swarm and I've noticed that whenever the server instance gets migrated from one node to the other, snapclient doesn't try to discover the new server. My proposed solution to this is to add a number of connection attempts after which snapclient tries to find a new server through mdns.
I added two arguments:
-1
) controls how many times snapclient should try to reconnect before trying to discover a new server.true
) controls whether mdns should be used or not