• Robert Knight's avatar
    Stop fetching result pages if current page is empty (#119) · 13eab232
    Robert Knight authored
    Yesterday a brief issue occurred where the server reported an incorrect
    (too high) total number of results for a URL due to the search index
    being out of date. Once the client reached the end of the actually
    available results, it made queries to the search endpoint which returned
    an empty result set but had a `total` figure implying that there should
    be more pages. The client then ended up polling the server indefinitely
    for more results.
    
    This commit defensively makes the client stop fetching more result pages
    if the current page is empty.
    13eab232
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...