Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
fix: reset reconnect tries when connected
Browse files Browse the repository at this point in the history
  • Loading branch information
martonborzak committed Jun 1, 2020
1 parent 92f093e commit f7e7949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ void Dock::onTextMessageReceived(const QString &message) {
if (type == "auth_ok") {
qCInfo(m_logCategory) << "Connection successful:" << friendlyName() << m_hostname;
setState(CONNECTED);
m_tries = 0;
m_heartbeatTimer->start();
}

Expand Down

0 comments on commit f7e7949

Please sign in to comment.