Skip to content

Commit

Permalink
fixing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldoglas committed Jun 4, 2024
1 parent a6f3e53 commit fbb1f11
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 @@ -1717,7 +1717,7 @@ void SQLiteNode::_onMESSAGE(SQLitePeer* peer, const SData& message) {
thread(&SQLiteNode::_replicate, this, peer, message, _dbPool->getIndex(false), threadAttemptStartTimestamp).detach();
} catch (const system_error& e) {
// If the server is strugling and falling behind on replication, we might have too many threads
// causing a resource exhaustion. If that happens, all the transations that are already threaded
// causing a resource exhaustion. If that happens, all the transactions that are already threaded
// and waiting for the transaction that failed will be stuck in an infinite loop. To prevent that
// we're changing the state to SEARCHING and sending the cancelAfter property to drop all threads
// that depend on the transaction that failed to be threaded.
Expand Down

0 comments on commit fbb1f11

Please sign in to comment.