git ssb

1+

Dominic / secure-scuttlebutt



Commit 9a4121d28f7b5ad414632abaf7e2528b0d978bdc

tidy

Dominic Tarr committed on 9/1/2016, 4:39:48 AM
Parent: 3bbf32ed49e52eec1e7cf83bf66d6d800e78c937

Files changed

index.jschanged
index.jsView
@@ -110,9 +110,8 @@
110110
111111 db.needsRebuild = function (cb) {
112112 sysDB.get('vmajor', function (err, dbvmajor) {
113113 dbvmajor = (dbvmajor|0) || 0
114- console.log('REBUILD', dbvmajor, getVMajor())
115114 cb(null, dbvmajor < getVMajor())
116115 })
117116 }
118117
@@ -127,16 +126,14 @@
127126 if(err && !ended) cb(ended = err)
128127 }
129128
130129 var m = 4
131- console.log("await")
132130 feedDB.await(next2)
133131 clockDB.await(next2)
134132 lastDB.await(next2)
135133 indexDB.await(next2)
136134
137135 function next2 () {
138- console.log('rebuild!', m)
139136 if(ended) return
140137 if(--m) return
141138 ended = true
142139 sysDB.put('vmajor', getVMajor(), cb)
@@ -315,5 +312,4 @@
315312
316313 return db
317314 }
318315
319-

Built with git-ssb-web