Skip to content

Commit 94a9bb8

Browse files
authored
Update the remaining two references to default timeout (#288)
1 parent 7ad0196 commit 94a9bb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/ecto/adapters/sql/sandbox.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
215215
216216
09:56:43.081 [error] Postgrex.Protocol (#PID<>) disconnected:
217217
** (DBConnection.ConnectionError) owner #PID<> timed out
218-
because it owned the connection for longer than 60000ms
218+
because it owned the connection for longer than 120000ms
219219
220220
If you have a long running test (or you're debugging with IEx.pry),
221221
the timeout for the connection ownership may be too short. You can
@@ -472,7 +472,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
472472
* `:ownership_timeout` - limits how long the connection can be
473473
owned. Defaults to the value in your repo config in
474474
`config/config.exs` (or preferably in `config/test.exs`), or
475-
60000 ms if not set. The timeout exists for sanity checking
475+
120000 ms if not set. The timeout exists for sanity checking
476476
purposes, to ensure there is no connection leakage, and can
477477
be bumped whenever necessary.
478478

0 commit comments

Comments
 (0)