diff --git a/src/Client.php b/src/Client.php index 82c173d..64134c5 100644 --- a/src/Client.php +++ b/src/Client.php @@ -177,7 +177,9 @@ protected function restCall($apiUrl, $verb, $guzzleParams) 'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 20.1.0; {$this->machineName}" ]; } - + // timeout for 1200s (20 min) + $guzzleParams['timeout'] = 1200; + // Contact the server try { $response = $this->client->request($verb, $apiUrl, $guzzleParams);