Fix missing timeout reference in roster #1613

This commit is contained in:
yflory 2024-08-28 16:56:25 +02:00
parent 563c180526
commit 07ee0c1382
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto, Feedback)
// but since multiple users who can and should might be online at once
// and since they'll all trigger this process at the same time...
// we want to stagger attempts at random intervals
setTimeout(function () {
ref.internal.checkpointTimeout = setTimeout(function () {
ref.internal.pendingCheckpointId = roster.checkpoint(function (err) {
if (err) { console.error(err); }
});