Skip to content

Commit

Permalink
Reduce concurrency to avoid 429 HTTP error.
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Wang <[email protected]>
  • Loading branch information
skygragon committed Jan 23, 2018
1 parent 02d3153 commit 1983175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/js/controllers/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ angular.module('Controllers')
$scope.IOing = false;
$scope.algos = ['Random', 'Sequential'];
$scope.companies = ['Apple', 'Amazon', 'Facebook', 'Google', 'Microsoft'];
$scope.counts = ['1', '2', '4', '8', '16', '24', '32'];
$scope.counts = ['1', '2', '4', '8', '16'];
$scope.filters = [
{name: 'All', status: '1', tag: '', company: ''},
{name: 'UnResolved', status: '0', tag: '', company: ''}
Expand Down
2 changes: 1 addition & 1 deletion www/js/services/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var Stat = {
updated: {
wifiOnly: true, // if true, only updaing in wifi mode.
fully: false, // if true, do a full crawl on all question pages
workers: '16', // how many workers to crawl questions
workers: '4', // how many workers to crawl questions
questions: 0, // how many questions got so far
pages: 0 // how mant pages processed so far
}
Expand Down

0 comments on commit 1983175

Please sign in to comment.