Skip to content
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

Remove separate GitHub API call just to check if user exists #41

Closed
alexpovel opened this issue Aug 13, 2022 · 0 comments · Fixed by #42
Closed

Remove separate GitHub API call just to check if user exists #41

alexpovel opened this issue Aug 13, 2022 · 0 comments · Fixed by #42
Assignees
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@alexpovel
Copy link
Owner

This:

await github.getitem(f"/users/{user}")

is really bad. It basically halves our API rate limit and costs a ton of time:

image

Here, it alone doubles our response time (Server-Timing from #37 ).

@alexpovel alexpovel added bug Something isn't working enhancement New feature or request labels Aug 13, 2022
@alexpovel alexpovel added this to the anc.v1 milestone Aug 13, 2022
@alexpovel alexpovel self-assigned this Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant