ApiVault
ApiVault copied to clipboard
[ FEATURE ] set API max retry
Is your feature request related to a problem? Please describe
No, but for a possible future problem like DDOS.
Describe the solution you'd like
I'd like to set a max retry per user session.
Additional context
This is a possible way to implement it in settings.py:
'DEFAULT_THROTTLE_RATES': {
'anon': '100/day',
'user': '1000/day'
}
Hey @gdjohn4s! I would like to work on this issue.
hI @Dev79844 , sure! I think a good limit would be 100 requests per hour for not logged users, and 1000 for logged in users.
@gdjohn4s wdyt?
sure
@gdjohn4s I am getting this error while setting up the application locally. Can help me?
@Dev79844 Try removing the versioning and use only distro-info
in the requirements