Skip to content

Commit

Permalink
fixes random string issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FilterKaapi committed Sep 23, 2015
1 parent 31f3c84 commit 4d5153a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pandex.ex
Expand Up @@ -142,6 +142,7 @@ defmodule Pandex do
end

defp random_string do
:random.seed(:erlang.monotonic_time, :erlang.time_offset, :erlang.unique_integer)
0x100000000000000 |> :random.uniform |> Integer.to_string(36) |> String.downcase
end

Expand Down

0 comments on commit 4d5153a

Please sign in to comment.