Skip to content

Commit

Permalink
Update sqlitecluster/SQLiteNode.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Alvarez <[email protected]>
  • Loading branch information
danieldoglas and cead22 authored Dec 24, 2024
1 parent ff4dacd commit 2d25cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlitecluster/SQLiteNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ void SQLiteNode::_onMESSAGE(SQLitePeer* peer, const SData& message) {
_server.blockCommandPort(blockReason);
_blockedCommandPort = true;
} else if (currentCommitDifference < 1'000 && _blockedCommandPort) {
SINFO("Node is caught up enough, unblocking command port.");
SINFO("Node is caught up enough (behind by " + SToStr(currentCommitDifference) + " commits), re-opening command port.");
_server.unblockCommandPort(blockReason);
_blockedCommandPort = false;
}
Expand Down

0 comments on commit 2d25cab

Please sign in to comment.