Retries and deadlines

94 views
Skip to first unread message

Aleh Linkin

unread,
Jun 27, 2023, 1:22:39 PM6/27/23
to grpc.io
Hello.
Am I right that there is only one deadline per request for all retries?
Are there any way to set deadline per each retry?

Thank you.

Sanjay Pujare

unread,
Jun 27, 2023, 1:33:20 PM6/27/23
to Aleh Linkin, grpc.io
Yes. Check this out https://github.com/grpc/proposal/blob/master/A6-client-retries.md#maximum-number-of-retries

"gRPC's call deadline applies across all attempts for a given RPC. For example, if the specified deadline for an RPC is July 23 9:00:00pm PDT the operation will fail after that time regardless of how many attempts were configured or attempted."

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/1d325922-8398-4613-9543-cd84de35bc8fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages