Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lilsweetcaligula committed Aug 30, 2021
1 parent 9f8a1a2 commit e1e22f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions env/sim/tasks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function run({ seneca }) {
function download_pkgs_names({ seneca }) {
return schedule_once(() => {
console.dir(`download_pkgs_names, triggered at ${new Date()}`)
seneca.act('role:update,start:download,all:true')
//seneca.act('role:update,start:download,all:true')
seneca.act('role:update,start:download', { limit: 1 }) // dbg
})
}

Expand Down Expand Up @@ -107,7 +108,7 @@ async function pull_github_history({ seneca }) {


const init_gh_rate_limit = await fetch_rate_limit({ seneca })
let gh_remaining_limit = dbginit_gh_rate_limit.data.resources.core.remaining
let gh_remaining_limit = init_gh_rate_limit.data.resources.core.remaining
let iter_sleep_ms = calculate_sleep_ms_between_api_requests(gh_remaining_limit)


Expand Down

0 comments on commit e1e22f8

Please sign in to comment.