Skip to content

Commit 7ad0196

Browse files
authored
Update docs to have accurate default for ownership_timeout (#287)
1 parent de3bdb7 commit 7ad0196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ecto/adapters/sql/sandbox.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
226226
ownership_timeout: NEW_TIMEOUT_IN_MILLISECONDS
227227
228228
The `:ownership_timeout` option is part of `DBConnection.Ownership`
229-
and defaults to 60000ms. Timeouts are given as integers in milliseconds.
229+
and defaults to 120000ms. Timeouts are given as integers in milliseconds.
230230
231231
Alternately, if this is an issue for only a handful of long-running tests,
232232
you can pass an `:ownership_timeout` option when calling

0 commit comments

Comments
 (0)