From de12e9a262253119ddac23275cf741825f710e85 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sat, 24 Aug 2024 17:58:16 -0400 Subject: [PATCH] Bump last error update threshold to 1 second. --- lib/exchanges.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/exchanges.js b/lib/exchanges.js index 94014a4..ca8fdb8 100644 --- a/lib/exchanges.js +++ b/lib/exchanges.js @@ -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 () => {