diff options
Diffstat (limited to 'src/extauth.erl')
-rw-r--r-- | src/extauth.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extauth.erl b/src/extauth.erl index 170dc23a0..7a71cfbc9 100644 --- a/src/extauth.erl +++ b/src/extauth.erl @@ -186,7 +186,7 @@ call_port(Server, Args, Timeout) -> StartTime = p1_time_compat:monotonic_time(milli_seconds), Pool = pool_name(Server), PoolSize = pool_size(Server), - I = randoms:round_robin(PoolSize), + I = p1_rand:round_robin(PoolSize), Cmd = str:join(Args, <<":">>), do_call(Cmd, I, I + PoolSize, Pool, PoolSize, StartTime + Timeout, StartTime). |