google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

Improve the method names in BackoffParams

Open shinfan opened this issue 10 years ago • 2 comments

Right now method names only fit for retry settings but not the timeout.

shinfan avatar Mar 29 '16 20:03 shinfan

I think we should just flatten the backoff params into retry params. Our client-side config will have them flattened, e.g.

      "initial_retry_delay_millis": 100,
      "retry_delay_multiplier": 1.2,
      "max_retry_delay_millis": 1000,
      "initial_rpc_timeout_millis": 2000,
      "rpc_timeout_multiplier": 1.5,
      "max_rpc_timeout_millis": 30000,
      "total_timeout_millis": 45000

garrettjonesgoogle avatar Mar 29 '16 21:03 garrettjonesgoogle

Closing this as was fixed in https://github.com/googleapis/gax-java/pull/44

mziccard avatar May 18 '16 13:05 mziccard