• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pouchdb / pouchdb / 12310 / 13
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 17 Jul 2021 12:05PM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jul 2021 12:00PM UTC coverage: 100.0%. Remained the same
NPM_CONFIG_PROGRESS="false" SERVER=pouchdb-server POUCHDB_SERVER_FLAGS=--in-memory PLUGINS=pouchdb-find COVERAGE=1 COMMAND=report-coverage

push

travis-ci-com

web-flow
Let caller set the change batch size when updating views (#8320)

* Refactor: pass batch size into `updateViewInQueue()`

We'd like to make the batch size for this process configurable by the
caller of the `query()` method. In order to make this possible, we
replace references to the `CHANGES_BATCH_SIZE` constant with an option
setting that's passed from `queryPromised()` into `updateView()` and
then into `updateViewInQueue()`.

* Let caller set the change batch size when updating views

Some users need to be able to increase or reduce the size of changes
batches used when updating view indexes, to make the best use of the
storage adapter they're running.

For example, memory constraints or processing capacity might necessitate
using smaller batch sizes.

This change lets the caller set a DB option named
`view_update_changes_batch_size`, which changes the batch size we use
for updating views in `abstract-mapreduce`. It defaults to 50, the value
of the existing `CHANGES_BATCH_SIZE` constant in this module.

* Document the `view_update_changes_batch_size` option

2957 of 3198 branches covered (92.46%)

5982 of 5982 relevant lines covered (100.0%)

19428.77 hits per line

Source Files on job 12310.13 (NPM_CONFIG_PROGRESS="false" SERVER=pouchdb-server POUCHDB_SERVER_FLAGS=--in-memory PLUGINS=pouchdb-find COVERAGE=1 COMMAND=report-coverage)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 11545
  • Travis Job 12310.13
  • b359d788 on github
  • Prev Job for NPM_CONFIG_PROGRESS="false" SERVER=pouchdb-server POUCHDB_SERVER_FLAGS=--in-memory PLUGINS=pouchdb-find COVERAGE=1 COMMAND=report-coverage on master (#12305.13)
  • Next Job for NPM_CONFIG_PROGRESS="false" SERVER=pouchdb-server POUCHDB_SERVER_FLAGS=--in-memory PLUGINS=pouchdb-find COVERAGE=1 COMMAND=report-coverage on master (#12312.13)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc