mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 23:31:32 +02:00
websocket: fix timer interval
This commit is contained in:
@@ -97,6 +97,7 @@ void WebsocketClient::nextWebsocketUrl() {
|
||||
void WebsocketClient::onConnectionTimeout() {
|
||||
qWarning() << "Websocket connection timeout";
|
||||
m_timeout = std::min(m_timeout + 5, 60);
|
||||
m_connectionTimeout.setInterval(m_timeout*1000);
|
||||
this->onDisconnected();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user