elixir-grpc / grpc

An Elixir implementation of gRPC
https://hex.pm/packages/grpc
Apache License 2.0
1.36k stars 210 forks source link

fix: don't detect :rand.uniform(_real) in retry #281

Closed wingyplus closed 1 year ago

wingyplus commented 1 year ago

The :rand.uniform_real introduced in OTP 21. This library support Elixir since 1.11. So the :rand.uniform_real/0 should always present.

Ref: https://hexdocs.pm/elixir/1.14.1/compatibility-and-deprecations.html