Too many activated licenses causes website use all resources
-
I’ve been trying to find the source of an ongoing recent problem, where the website resource limit would be reached (and cause the site to fall over).
I’ve narrowed it down to the fact that everyone who is using my plugin, the plugin is consistently hitting my website with non-stop license check requests. I am getting over a hundred thousand requests before lunch. Every domain running my plugin sends thousands of these requests daily.
This is the exact same issue someone else described here: https://www.ads-software.com/support/topic/license-checker-wp_remote_get/ using this…
$response = wp_remote_get($query, array(‘timeout’ => 20, ‘sslverify’ => false));
…to verify the license key hasn’t expired. But unfortunately he did not share his solution.
Can you suggest a way to only run the license check once per day? I tried putting it inside a cron job but that did not work.
- The topic ‘Too many activated licenses causes website use all resources’ is closed to new replies.