fix: force web reconnect on stalled close
This commit is contained in:
1 parent
cade7b1132
commit
eb158545fc
4 files changed
+100
-2
No files matched your search
@@ -1361,6 +1361,11 @@ export async function monitorWebProvider(
|
||||
void closeListener().catch((err) => {
|
||||
logVerbose(`Close listener failed: ${formatError(err)}`);
|
||||
}); // Trigger reconnect
|
||||
listener.signalClose?.({
|
||||
status: 499,
|
||||
isLoggedOut: false,
|
||||
error: "watchdog-timeout",
|
||||
});
|
||||
}
|
||||
}
|
||||
}, WATCHDOG_CHECK_MS);
|
||||
|
||||
Reference in new issue
Block a user