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

Fix long log-in time after lastSubmission reset #38

Open
ValerianClerc opened this issue Jul 6, 2020 · 0 comments
Open

Fix long log-in time after lastSubmission reset #38

ValerianClerc opened this issue Jul 6, 2020 · 0 comments
Assignees
Labels
bug Something isn't working p0

Comments

@ValerianClerc
Copy link
Member

Currently, when lastSubmission is reset for all users, the first login can be very slow in the case where a user has a lot of codeforces submissions, or simply if the codeforces API is being slow. We don't want to be so tightly dependant on their API's load time for our basic flow.

Ideas for fixing this:

  • Separate log-in and update-user-submissions into two separate routes
    • Currently, both of these functionalities are done in a single route, so the UI can't continue with the user data until the submissions are updated and the request has returned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p0
Projects
None yet
Development

No branches or pull requests

2 participants