Skip to content

Respect bulk request limit in AjaxHelper#24101

Merged
sgiehl merged 5 commits into5.x-devfrom
dev-19932
Mar 2, 2026
Merged

Respect bulk request limit in AjaxHelper#24101
sgiehl merged 5 commits into5.x-devfrom
dev-19932

Conversation

@sgiehl
Copy link
Copy Markdown
Member

@sgiehl sgiehl commented Feb 19, 2026

Description

When API_bulk_request_limit is configured it may currently cause that bulk requests sent by AjaxHandler may get rejected if the amount of requests exceed the limit.
This can currently happen when e.g. bulk editing users.

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

Review

@sgiehl sgiehl added this to the 5.8.0 milestone Feb 19, 2026
@sgiehl sgiehl requested a review from a team February 23, 2026 16:40
@sgiehl sgiehl modified the milestones: 5.8.0, 5.9.0 Feb 26, 2026
Copy link
Copy Markdown
Contributor

@chippison chippison left a comment

Choose a reason for hiding this comment

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

Did some smoke testing and can confirm

  1. It respects configured bulk request limits
  2. Chunks requests to based on configured limits
    • with limit = 2
    • sent 5 requests, it was able to chunk it to 2,2,1 requests

@sgiehl sgiehl merged commit 78bac3f into 5.x-dev Mar 2, 2026
30 checks passed
@sgiehl sgiehl deleted the dev-19932 branch March 2, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants