consul/lib
Dhia Ayachi c680a35b36
Net 2229/rpc reduce max retries 2 (#16165)
* feat: calculate retry wait time with exponential back-off

* test: add test for getWaitTime method

* feat: enforce random jitter between min value from previous iteration and current

* extract randomStagger to simplify tests and use Milliseconds to avoid float math.

* rename variables

* add test and rename comment

---------

Co-authored-by: Poonam Jadhav <poonam.jadhav@hashicorp.com>
2023-02-06 14:07:41 -05:00
..
decode Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
file removes ioutil usage everywhere which was deprecated in go1.16 (#15297) 2022-11-10 10:26:01 -06:00
maps
mutex
retry Support auth method with snapshot agent [ENT] (#15020) 2022-10-17 15:57:48 -06:00
routine Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
semaphore
serf
stringslice
template
ttlcache
cluster.go Net 2229/rpc reduce max retries 2 (#16165) 2023-02-06 14:07:41 -05:00
cluster_test.go Net 2229/rpc reduce max retries 2 (#16165) 2023-02-06 14:07:41 -05:00
eof.go
eof_test.go
json.go
map_walker.go Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
map_walker_test.go
math.go
math_test.go
path.go
rand.go
rtt.go
rtt_test.go
stop_context.go
stop_context_test.go
strings.go
telemetry.go
telemetry_test.go
translate.go Regenerate files according to 1.19.2 formatter 2022-10-24 16:12:08 -04:00
translate_test.go
useragent.go
useragent_test.go
uuid.go