mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Fix more places where random:seed is used
This commit is contained in:
parent
d0df7be722
commit
95a9100623
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ call_port(Server, Msg) ->
|
|||
receive {eauth, Result} -> Result end.
|
||||
|
||||
random_instance(MaxNum) ->
|
||||
random:seed(p1_time_compat:monotonic_time()),
|
||||
random:seed(p1_time_compat:timestamp()),
|
||||
random:uniform(MaxNum) - 1.
|
||||
|
||||
get_instances(Server) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue