Override getIdealConditionsLimit and make it configurable

Created on 1 May 2020, over 4 years ago
Updated 25 April 2024, 8 months ago

We are running the p:queue-work drush command every minute, but with the limit set to 100 we are not able to use all the Cloudflare limits.

As you can see here https://support.cloudflare.com/hc/en-us/articles/200169246-Purging-cache... they allow 30 tags per request which is already being handled by the module and the 30000 requests per day as well (with the help of a patch).

But my issue is that we want to have a different limit per run of the p:queue-work command, we could have say 600 running every minute, that would be 20 requests on every run and at the end of the day, 28800 requests, which is still under the 30000 limit.

By doing that, we would be able to purge 864000 instead of the 144000 we are now.

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇧🇷Brazil dungahk Balneário Camboriú

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024