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

Ensure fresh Captchas are served by sorting on attempted count #88

Merged
merged 3 commits into from
Apr 19, 2021

Conversation

hrj
Copy link
Contributor

@hrj hrj commented Apr 18, 2021

  • create an index on attempted column
  • order by attempted column when finding a new challenge. order by random doesn't seem to be working
  • optimise update of attempted count, by avoiding a table lookup.
  • Off-topic: Remove letter 'O' from set of safe alphabets, as it conflicts with number 0

@hrj hrj added this to the version 1.1 milestone Apr 18, 2021
@hrj hrj requested a review from rr83019 April 18, 2021 19:37
@hrj hrj merged commit f38d6ee into librecaptcha:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant