New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edd_test_ajax_works performance bottleneck #2873
Comments
I've seen a couple of other people with this same problem, but I'm not sure On Sunday, December 14, 2014, Herb Miller notifications@github.com wrote:
|
^^ I'm pretty sure that fixes the issue. |
Looks like ajax checks are still running on every page load. |
Hi pippin, thanks for replying. I had changed the sequence of the tests. The reason I was seeing this message may be something to do with my local server not being keen to respond to a new request until the first one has finished. I can't confirm that was the case with EDD but that's what I've been seeing with other logic... a local request initiated by wp_remote_post() is not being served until it's timed out! I've seen mentioned that this may be something to do with PHP sessions but have not found the correct workaround Your fixes look OK. Don't forget the typo :-) |
hi, just to confirm that I had recently upgraded Kaspersky Internet Security and it was monitoring port 80, so the apache server effectively became single threaded. It wasn't until the timeout occurred that the ajax request was run. nothing to do with session_write_close() |
Since re-enabling EDD on my local machine it's been grinding to a halt.
I keep on getting "Your site appears to be blocking the WordPress ajax interface. This may causes issues with your store."
BTW. There's a typo in the message. It should be "This may cause issues with your store"
Is this if statement really supposed to perform the checks in the order shown?
If I've dismissed the message then why is it still performing the test?
The text was updated successfully, but these errors were encountered: