Skip to content

Commit

Permalink
Merge branch 'os'
Browse files Browse the repository at this point in the history
  • Loading branch information
lpgauth committed Nov 20, 2013
2 parents 9d207a2 + a2431ab commit 46eaf80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/statsderl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ lookup_hostname(Hostname) ->
maybe_seed() ->
case get(random_seed) of
undefined ->
random:seed(erlang:now());
random:seed(os:timestamp());
{X, X, X} ->
random:seed(erlang:now());
random:seed(os:timestamp());
_ ->
ok
end.
Expand Down

0 comments on commit 46eaf80

Please sign in to comment.