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

[BUG] Register / sign in is slow #34

Closed
bitknox opened this issue Feb 28, 2023 · 0 comments · Fixed by #35
Closed

[BUG] Register / sign in is slow #34

bitknox opened this issue Feb 28, 2023 · 0 comments · Fixed by #35
Labels
bug Something isn't working

Comments

@bitknox
Copy link
Collaborator

bitknox commented Feb 28, 2023

Describe the bug
The endpoints for registering and signing in take one second to complete. The endpoints should be faster, as the timeout duration in the simulator is going to be 500ms (see teams)

To Reproduce
Steps to reproduce the behavior:

  1. Run the test suite with the verbose flag
  2. See that time taken to register and sign in is above one second

Expected behavior
The endpoints should complete within 500 ms.

Additional context
This is most likely due to the cost we use in bcrypt hashing, decreasing the cost should greatly decrease response times.

@bitknox bitknox added the bug Something isn't working label Feb 28, 2023
@Mansin-ITU Mansin-ITU mentioned this issue Feb 28, 2023
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant