Problem with the amount of API calls (yourls_cron hourly)
-
Hi there,
Thanks for creating this great plugin.
We are facing a problem with the plugin and the amount of API calls.
We are using the plugin on several sites with thousands of entries and when the CRON JOB updates the YOURLS data every hour (
wp_schedule_event( time(), 'hourly', 'yourls_cron' );
inyourls-link-creator.php
) the YOURLS server goes down when two of the sites try to update the data at the same time. The amount of API calls at the same times seems to be to much for the server to handle.In the server log of the YOURLS domain we see thousands of calls to
/yourls-api.php
until the server can’t handle the amount of requests and stopps responding. It’s like a DDOS attack from our own sites against the YOURLs server.Do you have any idea how to prevent this issue? Or how to limit the amount of API calls of the plugin?
It would be great if you had some ideas to solve this.
Thanks for your help.
- The topic ‘Problem with the amount of API calls (yourls_cron hourly)’ is closed to new replies.