fix(web): keep retrying environments gating the landing through their first backoff attempts
Signed-off-by: Yordis Prieto <[email protected]>
This commit is contained in:
1 file changed
+5
@@ -38,6 +38,11 @@ export const allEnvironmentShellsBootstrappedAtom = Atom.make((get) => {
|
||||
if (connectionProjectionPhase(connection) !== "disconnected") {
|
||||
return false;
|
||||
}
|
||||
// A retrying environment is only transiently disconnected; give it its
|
||||
// first retries before letting the landing settle without its snapshot.
|
||||
if (connection.phase === "backoff" && connection.desired && connection.attempt <= 2) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}).pipe(Atom.withLabel("web-all-environment-shells-bootstrapped"));
|
||||
Reference in new issue
Block a user