mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
Websocket: reconnect more rapidly when closed
This commit is contained in:
parent
f380872540
commit
9d9bcc51f8
@ -174,7 +174,8 @@ export default {
|
||||
}
|
||||
|
||||
const socket = new ReconnectingWebSocket(wsUrl, 'notify', {
|
||||
reconnectInterval: 3000
|
||||
reconnectInterval: 1000,
|
||||
maxReconnectInterval: 2000
|
||||
})
|
||||
|
||||
socket.onopen = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user