Skip to content

Commit

Permalink
Add the retryAttempt to the grpc-fallback transport
Browse files Browse the repository at this point in the history
  • Loading branch information
Hectorhammett committed Dec 10, 2024
1 parent c4d16a3 commit 98ebe80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Transport/GrpcFallbackTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ private function getCallOptions(array $options)
$callOptions['timeout'] = $options['timeoutMillis'] / 1000;
}

if (isset($options['retryAttempt'])) {
$callOptions['retryAttempt'] = $options['retryAttempt'];
}

if (isset($options['requestId'])) {
$callOptions['requestId'] = $options['requestId'];
}
Expand Down

0 comments on commit 98ebe80

Please sign in to comment.