Skip to content

throttling fix for cw - #2546

Closed
IdirLISN wants to merge 1 commit into
developfrom
fix/throttling
Closed

IdirLISN wants to merge 1 commit into
developfrom
fix/throttling

Conversation

@IdirLISN

@IdirLISN IdirLISN commented Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator

A brief description of the purpose of the changes contained in this PR.

The compute workers are considered as anonymous users when they request the API, so they follow this throttling rules:
'anon': '100/day' and 'anon_burst': '60/min',

If we can identify the compute workers, we will be able to apply a specific rules for them.

Important

With this PR, i am able to identify CW which are deployed with codabench instance (local CW) but not distant compute workers. I am working on it, so this PR will stay in draft until i finished this part

Issues this PR resolves

#2545

A checklist for hand testing

  • Make a lot of submission and check if your compute worker is throttled.

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@IdirLISN

Copy link
Copy Markdown
Collaborator Author

Code causing the Issue reverted before merge to master, we need a new PR to reset the throttling feature.

@IdirLISN IdirLISN closed this Sep 21, 2026
@IdirLISN
IdirLISN deleted the fix/throttling branch September 21, 2026 10:13
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