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
If I get a chance I'll try and make a PR, but it would be good if a timeout could be added to the Guzzle client. At the moment there is no timeout, which causes issues in some cases!
The text was updated successfully, but these errors were encountered:
For your use case, is it helpful to use the Guzzle retry plugin?
use KeenIO\Client\KeenIOClient;
$client = KeenIOClient::factory([
'projectId' => $projectId,
'writeKey' => $writeKey,
'readKey' => $readKey
]);
// Use a static factory method to get a backoff plugin using the exponential backoff strategy
$backoffPlugin = BackoffPlugin::getExponentialBackoff();
// Add the backoff plugin to the client object
$client->addSubscriber($backoffPlugin);
If I get a chance I'll try and make a PR, but it would be good if a timeout could be added to the Guzzle client. At the moment there is no timeout, which causes issues in some cases!
The text was updated successfully, but these errors were encountered: