open-consul/lib
Dhia Ayachi 0f3e935228
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 peering: replicate all SpiffeID values necessary for the importing side to do SAN validation (#13612) 2022-06-27 14:37:18 -05:00
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 auto-reload configuration when config files change (#12329) 2022-03-31 15:11:49 -04:00
template
ttlcache remove remaining shim runStep functions (#13015) 2022-05-10 16:24:45 -05:00
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 Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311) 2022-02-14 09:45:45 -08:00
eof_test.go Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311) 2022-02-14 09:45:45 -08:00
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 Configure upstream TLS context with peer root certs (#13321) 2022-06-01 15:53:52 -06:00
telemetry.go no 1.9 style metrics (#13532) 2022-06-29 09:46:37 -07:00
telemetry_test.go telemetry: remove unused arg (#13161) 2022-05-19 19:17:30 -07:00
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