mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
randoms: Keep compatibility with Erlang/OTP 17
This commit is contained in:
parent
c923bb5c10
commit
d0f3696596
@ -55,4 +55,4 @@ bytes(N) ->
|
||||
|
||||
-spec round_robin(pos_integer()) -> non_neg_integer().
|
||||
round_robin(N) ->
|
||||
erlang:unique_integer([monotonic, positive]) rem N.
|
||||
p1_time_compat:unique_integer([monotonic, positive]) rem N.
|
||||
|
Loading…
Reference in New Issue
Block a user