Decrease paypal request timeout so failed requests to not take too long

Closes #14546
This commit is contained in:
Mike Jolley 2017-04-20 15:45:52 +01:00
parent 3ef5ad2565
commit f8781b9552
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ class WC_REST_System_Status_Controller extends WC_REST_Controller {
// Test POST requests
$post_response = wp_safe_remote_post( 'https://www.paypal.com/cgi-bin/webscr', array(
'timeout' => 60,
'timeout' => 10,
'user-agent' => 'WooCommerce/' . WC()->version,
'httpversion' => '1.1',
'body' => array(