Increased API post timeout to 30 seconds

Simplified access token logic
This commit is contained in:
Justin Foell
2018-03-29 08:49:40 -05:00
parent e2a5ccae6d
commit 5797d2b639
4 changed files with 14 additions and 22 deletions
+1
View File
@@ -18,6 +18,7 @@ class WPStrava_API {
'body' => http_build_query( $data ),
'sslverify' => false,
'headers' => array(),
'timeout' => 30,
);
if ( $this->access_token ) {