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

Updates #289

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Updates #289

wants to merge 7 commits into from

Conversation

tanzr
Copy link
Contributor

@tanzr tanzr commented Apr 5, 2019

Test coverage report, additional topics for rest_framework, memcache for backend

@tanzr tanzr requested a review from oyvindkolbu April 5, 2019 13:34
),
'DEFAULT_THROTTLE_RATES': {
'anon': '20/hour',
'user': '100/day'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

100/day seems very low. Actually almost a fifth of what an anonymous user can do.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is a good number? 1000/hour? 100/minute As a API user, I would like the time period to be short, to be able to quickly recover if a script run amok. It would be horrible to have to wait an entire day before continuing work, after messing up like that.

'LOCATION': '127.0.0.1:11211',
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please provide instructions on how to run memcached.

requirements.txt Outdated
@@ -31,3 +31,5 @@ six==1.12.0
uritemplate==3.0.0
urllib3==1.24.1
coverage==4.5.3
memcached==1.4.15
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line breaks travis. Possibly uneeded.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good tip is to: pip install package .
Then later if you are happy with the package: pip freeze > requirements.txt

@oyvindkolbu
Copy link
Collaborator

And also please have better pull request descriptions.

@tanzr tanzr closed this Apr 8, 2019
@tanzr tanzr reopened this Apr 8, 2019
@terjekv
Copy link
Collaborator

terjekv commented Nov 29, 2023

This has been stale for a long time. It seems to aim for two changes:

  1. Add throttling to the API
  2. Add memcache support

Is there still a desire to have these changes merged?

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.

4 participants