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

Allow users to specify a limit to the json leaderboard. #307

Merged
merged 1 commit into from Apr 24, 2015

Conversation

ralphbean
Copy link
Contributor

With this, you could then set limit=1000000 to get a json response
containing all users in the db if you wanted to, say, do analytics on
Fedora Badges for a school project.

With this, you could then set limit=1000000 to get a json response
containing all users in the db if you wanted to, say, do analytics on
Fedora Badges for a school project.
@pypingou
Copy link
Member

Could this lead to some sort of DDOS attack?

@ralphbean
Copy link
Contributor Author

Well, we were already calculating the entire leaderboard anyways (that's the compute/IO intensive part). This just returns the data we already had in memory to the user.

@pypingou
Copy link
Member

ok 👍 then

ralphbean added a commit that referenced this pull request Apr 24, 2015
Allow users to specify a limit to the json leaderboard.
@ralphbean ralphbean merged commit 40fa902 into develop Apr 24, 2015
@ralphbean ralphbean deleted the feature/json-limit branch April 24, 2015 17:08
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.

None yet

2 participants