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

Feature/start poll add throttling #47

Merged
merged 4 commits into from
Apr 9, 2024

Conversation

juuso-j
Copy link
Collaborator

@juuso-j juuso-j commented Apr 8, 2024

Add throttling to start poll

Trello #86


Breakdown:

Files changed

  1. account/tests/test_api.py
    • Read num_request from the defined rate
  2. profiles/api/utils.py
    • Add class StartPollRateThrottle
  3. profiles/api/views.py
    • Add StartPollRateThrottle to start_poll throttle_classes
  4. profiles/tests/api/test_answer.py
    • Add throttling test for start_poll

@juuso-j juuso-j added the enhancement New feature or request label Apr 8, 2024
@juuso-j juuso-j requested a review from ezkat April 8, 2024 06:58
@juuso-j juuso-j self-assigned this Apr 8, 2024
@juuso-j juuso-j merged commit 4c1bf66 into develop Apr 9, 2024
3 checks passed
@juuso-j juuso-j mentioned this pull request Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants