Skip to content

Commit

Permalink
reduce sleep period between ORES calls, give more memory to npp task
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Oct 1, 2023
1 parent 49032ea commit 5aff80a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- {"schedule": "0 2 1,15 * *", "name": "job-mostimported", mem: "256Mi", "command": "~/SDZeroBot/job reports/most-imported-scripts/most-imported-scripts.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "0 2,10,18 * * *", "name": "job-afc", mem: "256Mi", "command": "~/SDZeroBot/job reports/afc-sorting/afc-sorting.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "15 2,10,18 * * *", "name": "job-pafc", mem: "256Mi", "command": "~/SDZeroBot/job reports/pending-afc.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "0 1,13 * * *", "name": "job-npp", mem: "256Mi", "command": "~/SDZeroBot/job reports/npp-sorting/npp-sorting.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "0 1,13 * * *", "name": "job-npp", mem: "512Mi", "command": "~/SDZeroBot/job reports/npp-sorting/npp-sorting.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "30 0,4,8,12,16,20 * * *", "name": "job-prod", mem: "256Mi", "command": "~/SDZeroBot/job reports/prod-sorting/prod-sorting.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "30 1,5,9,13,17,21 * * *", "name": "job-afd", mem: "256Mi", "command": "~/SDZeroBot/job reports/afd-sorting/afd-sorting.js", "image": "node16", "emails": "onfailure"}
- {"schedule": "0 1 * * *", "name": "job-notifier", mem: "256Mi", "command": "~/SDZeroBot/job afd-notifications/notifier.js", "image": "node16", "emails": "onfailure"}
Expand Down
2 changes: 1 addition & 1 deletion reports/OresUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {
console.log(err);
return Promise.reject(err);
});
}, 2000, 2).then(({failures}) => {
}, 100, 2).then(({failures}) => {
// fail if all ORES calls didn't succeed eventually
let numFailing = Object.keys(failures).length;
if (numFailing > 0) {
Expand Down

0 comments on commit 5aff80a

Please sign in to comment.