no the taskqueue that all the methods on pouch go through, that doesn't get
triggered untlil after this callback


On Fri, Apr 18, 2014 at 6:43 PM, Nolan Lawson <notifications@github.com>wrote:

> In lib/adapters/leveldb.js:
>
> >      stores.docStore = db.sublevel(DOC_STORE, {valueEncoding: 'json'});
> >      stores.bySeqStore = db.sublevel(BY_SEQ_STORE, {valueEncoding: 'json'});
> >      stores.attachmentStore =
> >        db.sublevel(ATTACHMENT_STORE, {valueEncoding: 'json'});
> >      stores.binaryStore = db.sublevel(BINARY_STORE, {valueEncoding: 'binary'});
> >      stores.bySeqStore.get(UPDATE_SEQ_KEY, function (err, value) {
> > -      updateSeq = !err ? value : 0;
> > +      if (!err) {
> > +        db._updateSeq += value;
> > +      }
>
> You mean sublevel(levelup()) blocks? That's good, but see my point below
> - I believe the LevelPouch constructor callback chain itself does not block.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/pouchdb/pull/1966/files#r11789647>
> .
>



-- 
-Calvin W. Metcalf