New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub API usage estimate #1335

Open
betatim opened this Issue Dec 5, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@betatim

betatim commented Dec 5, 2018

Is there a way to estimate/count the number of API requests Octobox will make for a given user?

I have a self hosted deployment of 5fea753 setup as an OAuth GitHub app just for me (no other users I know of, how would I check?) and in the last two or three days I started hitting the API limit. It took me a while to narrow down what was causing this as I have a few apps and personal access tokens running that consume the API. However now I am down to just Octobox as OAuth app (I've regenerated all other access tokens that had traffic in the last week without replacing them in the configs of the respective apps)

When I leave the browser tab open it seems to consume around 20-ish API calls each time I press the refresh button. Does that seem reasonable? Even so it seems hard to imagine that this woudl eat through my 5000 requests limit.

Ideas how to poke at this welcome.

@evexoio

This comment has been minimized.

Contributor

evexoio commented Dec 5, 2018

@betatim

This comment has been minimized.

betatim commented Dec 5, 2018

It tells me what I already know: my API limit is exhausted :) I can't find a way to get GitHub to tell me what/who is using up my API calls. For that you have to go back to the individual apps (I think). Hence trying to get an estimate of what Octobox should be using and/or how to query for what it is actually using.

@betatim

This comment has been minimized.

betatim commented Dec 11, 2018

When I leave octobox open in a tab for a while (maybe a few hours while working?) I now frequently see "API limits exhausted" error messages in octobox popup :-/

Deploying master now to see if that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment