Keep offline peers on Fleet and add max reconnect tries setting
Release rolling / release (push) Successful in 8m50s
Release rolling / release (push) Successful in 8m50s
Fleet builds a roster from configured peers so hosts stay visible when they drop (online / reconnecting / failed / offline). Settings → Behavior adds max reconnect tries (1–8 or unlimited, default 8) wired into ConnectionManager, with Retry connect to redial after the budget is spent.
This commit is contained in:
@@ -25,8 +25,9 @@ export const CONFIG = {
|
||||
/** Fixed delay between automatic peer reconnect attempts */
|
||||
RECONNECT_DELAY_MS: 5000,
|
||||
/**
|
||||
* Max automatic reconnect attempts (0 / Infinity = never give up).
|
||||
* Peers keep dialing every RECONNECT_DELAY_MS until back online or removed.
|
||||
* Default max automatic reconnect attempts when Settings has no override.
|
||||
* 0 = unlimited. Runtime/UI caps at 8 (see Settings → Behavior).
|
||||
* Client default preference is 8 tries via peardock.settings.v1.
|
||||
*/
|
||||
RECONNECT_MAX_ATTEMPTS: 0,
|
||||
HEALTH_CHECK_INTERVAL_MS: 10000, // Health check interval
|
||||
|
||||
Reference in New Issue
Block a user