pub fn reconnect_cap(max: Duration, lease: Option<Duration>) -> DurationExpand description
The longest wait between two tries to reach the master: max, but at most half the
master’s worker lease once it has told it (B168), so a worker still alive reaches a master
back from a restart before that master’s lease on it runs out; else the master would take
it for lost and move its cleanups with only the handles it got (a handle registered while
the master was away left behind).