We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b507f commit 0fdb559Copy full SHA for 0fdb559
lib/ecto/adapters/sqlite3/connection.ex
@@ -24,7 +24,7 @@ defmodule Ecto.Adapters.SQLite3.Connection do
24
def handle_thundering_herd(opts) do
25
case Keyword.get(opts, :pool_index) do
26
idx -> :timer.sleep(idx * @idx_connect_buffer)
27
- nil -> :timer.sleep(:rand.uniform(@connect_buffer))
+ nil -> :timer.sleep(:rand.uniform(@rand_connect_buffer))
28
end
29
30
opts
0 commit comments