Make ping interval longer (#232)
* Make ping interval 45s Co-authored-by: Vaclav Barta <vbarta@mangrove.cz>
This commit is contained in:
@@ -87,7 +87,7 @@ const addListeners = (account: ISelect | null) => {
|
||||
if (streamState.socket) {
|
||||
interval = setInterval(() => {
|
||||
streamState.socket?.send("");
|
||||
}, 10000);
|
||||
}, 45000);
|
||||
}
|
||||
|
||||
streamState.socket.addEventListener("open", () => onOpen(account));
|
||||
|
||||
Reference in New Issue
Block a user