fixed late-join sync issue & use leveldb only in node environment

This commit is contained in:
Kevin Jahns
2016-08-22 12:05:39 +02:00
parent acbc884eb5
commit e31d5e0e1d
2 changed files with 4 additions and 1 deletions

View File

@@ -997,6 +997,7 @@ module.exports = function (Y/* :any */) {
if (firstMissing != null) {
// update startPos
startPos = firstMissing.id[1]
startSS[user] = startPos
}
}
yield* this.os.iterate(this, [user, startPos], [user, Number.MAX_VALUE], function * (op) {