Skip to content

Commit

Permalink
Bump last error update threshold to 1 second.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Aug 24, 2024
1 parent 439346b commit de12e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/exchanges.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const COLLECTION_NAME = 'vc-exchange';
const LAST_ERROR_UPDATE_CONSTRAINTS = {
// if the exchange has been updated 5 or more times, apply the time limit
sequenceThreshold: 5,
// 500 ms must expire before updating last error once sequence threshold
// 1 second must expire before updating last error once sequence threshold
// has been hit
updateTimeLimit: 500
updateTimeLimit: 1000
};

bedrock.events.on('bedrock-mongodb.ready', async () => {
Expand Down

0 comments on commit de12e9a

Please sign in to comment.