You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed in the new 1.0.0 beta1 of the EdgeGrid client it is set to 300 (5 minutes), which is better, but still may be worth putting an example with no timeout.
Cheers,
Dean
The text was updated successfully, but these errors were encountered:
Thank you! I was pulling my hair out trying to work out why some of my files weren't making it to NetStorage. Increased the timeout to 300s and it's all working now.
When creating the client in the example
$client = new \Akamai\Open\EdgeGrid\Client([ 'base_uri' => $host, 'handler' => $stack ]);
it may be worth putting a timeout example there too like
$client = new \Akamai\Open\EdgeGrid\Client([ 'base_uri' => $host, 'handler' => $stack, 'timeout' => 0 ]);
With the default 10s defined in https://github.com/akamai-open/AkamaiOPEN-edgegrid-php-client/blob/0.3.0/src/Client.php#L41 it pretty much means any files greater than a couple hundred kb cause it to fail.
I noticed in the new 1.0.0 beta1 of the EdgeGrid client it is set to 300 (5 minutes), which is better, but still may be worth putting an example with no timeout.
Cheers,
Dean
The text was updated successfully, but these errors were encountered: