diff --git a/lib/epochs/index.js b/lib/epochs/index.js index 669665d..e5346ed 100644 --- a/lib/epochs/index.js +++ b/lib/epochs/index.js @@ -504,7 +504,7 @@ function getTipEpochsWithMembers(ssb, groupId, cb) { function fixDisjointEpochsLater(ssb, groupId) { const timeout = - ssb?.config?.tribes2?.disjointResloveDelay ?? + ssb?.config?.tribes2?.disjointResolveDelay ?? (110 * Math.random() + 10) * 1000 // 10-120 seconds const timeoutId = setTimeout(() => { // check if disjoint still diff --git a/test/helpers/testbot.js b/test/helpers/testbot.js index e9699b7..bdbc3d0 100644 --- a/test/helpers/testbot.js +++ b/test/helpers/testbot.js @@ -60,7 +60,7 @@ module.exports = function createSbot(opts = {}) { timeoutLow: opts.timeoutLow, timeoutHigh: opts.timeoutHigh, recoverExclude: opts.recoverExclude, - disjointResloveDelay: opts.disjointResloveDelay, + disjointResolveDelay: opts.disjointResolveDelay, }, }) diff --git a/test/lib/epochs.test.js b/test/lib/epochs.test.js index 01103ca..bdeaf06 100644 --- a/test/lib/epochs.test.js +++ b/test/lib/epochs.test.js @@ -453,7 +453,7 @@ test('lib/epochs (getPreferredEpoch - 4.6. overlapping membership)', async (t) = // const peers = [ Server({ name: 'alice' }), - Server({ name: 'bob', disjointResloveDelay: 1000 }), + Server({ name: 'bob', disjointResolveDelay: 1000 }), Server({ name: 'carol' }), Server({ name: 'oscar' }), ]