Right now the retry delay gradually increases. How can i set it to a static value?
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/7570b608-d5a6-4f49-8eff-6a12fd28d774%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What language are you working in? Is there a reason you want at static value? You don't want to just cap the exponential backoff to a lower maximum?
On Mon, Jul 18, 2016 at 7:07 AM, <sari...@gmail.com> wrote:
Right now the retry delay gradually increases. How can i set it to a static value?
--
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.
After searching through the source code i found the setting for this.
grpc::ChannelArguments channel_args;
channel_args.SetInt("grpc.testing.fixed_reconnect_backoff", 1000);There is another relevant argument setting in grpc_types.h,
#define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS "grpc.max_reconnect_backoff_ms"
But I'm using version 0.12.0 which doesn't have that option :P