GitHub auth: log token requests
This commit is contained in:
parent
014753a736
commit
2b849b2b7f
|
@ -232,6 +232,7 @@ function githubRequest(request, url, query, cb) {
|
|||
} else {
|
||||
var remaining = +res.headers['x-ratelimit-remaining'];
|
||||
var reset = +res.headers['x-ratelimit-reset'];
|
||||
console.log('GitHub auth: token', githubToken, 'at rate limit', remaining);
|
||||
setReqRemaining(githubToken, remaining, reset);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user