3 ms·
For those wondering; the meat of the library is: def call(conn, _opts) do rails_penalty = 500..1200 |> Enum.shuffle |> Enum.at(0) :timer.sleep(rails_
by DDR0 10y ago
For those wondering; the meat of the library is:
def call(conn, _opts) do
rails_penalty = 500..1200 |> Enum.shuffle |> Enum.at(0)
:timer.sleep(rails_penalty)
conn
end
(from https://github.com/BlakeWilliams/rails/blob/master/lib/rails.ex https://github.com/BlakeWilliams/rails/blob/master/lib/rails...)