summaryrefslogtreecommitdiff
path: root/src/ejabberd.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd.erl')
-rw-r--r--src/ejabberd.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ejabberd.erl b/src/ejabberd.erl
index 6bd2422a..5a6fc64d 100644
--- a/src/ejabberd.erl
+++ b/src/ejabberd.erl
@@ -105,8 +105,6 @@ start_app([], _Type, _StartFlag) ->
ok.
check_app_modules(App, StartFlag) ->
- {A, B, C} = p1_time_compat:timestamp(),
- random:seed(A, B, C),
sleep(5000),
case application:get_key(App, modules) of
{ok, Mods} ->
@@ -140,7 +138,7 @@ exit_or_halt(Reason, StartFlag) ->
end.
sleep(N) ->
- timer:sleep(random:uniform(N)).
+ timer:sleep(randoms:uniform(N)).
get_module_file(App, Mod) ->
BaseName = atom_to_list(Mod),