API timed out to https://easy-modal.com slowed site to a crawl
-
My client’s site slowed to a crawl today because https://easy-modal.com is unresponsive yet the API request allows for 15 seconds for the site to resolve.
For anyone with this issue here is a simple patch until they fix https://easy-modal.com.
Goto file: /wp-content/plugins/easy-modal/classes/license.php
on line 33 edit:
$response = wp_remote_get( add_query_arg( $api_params, EMCORE_API_URL ), array( 'timeout' => 15, 'sslverify' => false ) );
to
$response = wp_remote_get( add_query_arg( $api_params, EMCORE_API_URL ), array( 'timeout' => 1, 'sslverify' => false ) );
Hope that helps!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘API timed out to https://easy-modal.com slowed site to a crawl’ is closed to new replies.