Skip to content

Commit

Permalink
Fix outdated comment in SyncthingConnection::readErrors()
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Oct 3, 2024
1 parent 682976f commit e76781e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncthingconnector/syncthingconnection_requests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1054,9 +1054,9 @@ void SyncthingConnection::readErrors()
}
}

// since there seems no event for this data, keep polling
// since there is no event for this data, keep polling
// note: The return value of hasUnreadNotifications() might have changed. This is however not (yet) used to compute the overall status so
// we can always just call concludeConnectionWithoutRecomputingStatus() here.
// we can avoid a status recomputation here.
if (m_keepPolling) {
concludeConnection(StatusRecomputation::None);
if ((m_pollingFlags & PollingFlags::Errors) && m_errorsPollTimer.interval()) {
Expand Down

0 comments on commit e76781e

Please sign in to comment.