Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmix committed Jan 25, 2024
1 parent 5af9049 commit 2a4f9c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/epochs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/testbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = function createSbot(opts = {}) {
timeoutLow: opts.timeoutLow,
timeoutHigh: opts.timeoutHigh,
recoverExclude: opts.recoverExclude,
disjointResloveDelay: opts.disjointResloveDelay,
disjointResolveDelay: opts.disjointResolveDelay,
},
})

Expand Down
2 changes: 1 addition & 1 deletion test/lib/epochs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ test('lib/epochs (getPreferredEpoch - 4.6. overlapping membership)', async (t) =
// <setup>
const peers = [
Server({ name: 'alice' }),
Server({ name: 'bob', disjointResloveDelay: 1000 }),
Server({ name: 'bob', disjointResolveDelay: 1000 }),
Server({ name: 'carol' }),
Server({ name: 'oscar' }),
]
Expand Down

0 comments on commit 2a4f9c7

Please sign in to comment.