d8-contrib-modules / cloudflarephpsdk

PHP SDK For interfacing with CloudFlare's API
8 stars 19 forks source link

Update purging limits #32

Open rbayliss opened 5 years ago

rbayliss commented 5 years ago

Cloudflare's API supports up to 30,000 cache tag purges in a day (I think).

This is a bit unclear from Cloudflare's documentation, but they state that:

I'm guessing that 30,000 is the new limit, and 2,000 was the limit they had in place while they were rolling this feature out, but it would be great to confirm that.

vitaly-malashevsky commented 5 years ago

We faced the same issue recently and when we've been reaching the limit of 2000 purges we still been able to purge more and more w/o any problems. Hence the actual limit is more than 2000.

owenbush commented 3 years ago

I have this patch successfully applied using our Drupal composer.json, it works nicely. Thanks.