Release 12.2.0

This commit is contained in:
Kevin Jahns 2017-05-03 16:17:13 +02:00
parent b242aab955
commit 74b41e03e3
4 changed files with 3 additions and 4 deletions

2
dist

@ -1 +1 @@
Subproject commit e30e16c91bfab65b1e9347d21dbda8d23e12ef03
Subproject commit c3d21b5c8ed46c990b1a31123c5f5db40818bb23

View File

@ -1,6 +1,6 @@
{
"name": "yjs",
"version": "12.1.7",
"version": "12.2.0",
"description": "A framework for real-time p2p shared editing on any data",
"main": "./src/y.js",
"scripts": {

View File

@ -329,7 +329,6 @@ module.exports = function (Y/* :any */) {
}
})
} else if (message.type === 'sync step 2' && canWrite(auth)) {
let conn = this
var db = this.y.db
var defer = {}
defer.promise = new Promise(function (resolve) {

View File

@ -111,7 +111,7 @@ module.exports = function (Y /* :any */) {
}
this.garbageCollect = garbageCollect
this.startGarbageCollector()
this.repairCheckInterval = !opts.repairCheckInterval ? 6000 : opts.repairCheckInterval
this.opsReceivedTimestamp = new Date()
this.startRepairCheck()