Right and opening the db blocks
On Apr 18, 2014 5:57 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;
> > +      }
>
> So wait, it looks like we don't even need the queue for docCount, since
> there's only one docCount that's stored in memory per database. Right?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/pouchdb/pull/1966/files#r11788535>
> .
>