Skip to content

Commit f9266ad

Browse files
authored
add checkout_retries to start options (#339)
1 parent 165ce62 commit f9266ad

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/db_connection.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ defmodule DBConnection do
123123
| {:backoff_max, non_neg_integer}
124124
| {:backoff_min, non_neg_integer}
125125
| {:backoff_type, :stop | :exp | :rand | :rand_exp}
126+
| {:checkout_retries, non_neg_integer}
126127
| {:configure, (keyword -> keyword) | {module, atom, [any]} | nil}
127128
| {:idle_interval, non_neg_integer}
128129
| {:idle_limit, non_neg_integer}
@@ -626,6 +627,7 @@ defmodule DBConnection do
626627
:backoff_max,
627628
:backoff_min,
628629
:backoff_type,
630+
:checkout_retries,
629631
:configure,
630632
:idle_interval,
631633
:idle_limit,

test/db_connection_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ defmodule DBConnectionTest do
4141
:backoff_max,
4242
:backoff_min,
4343
:backoff_type,
44+
:checkout_retries,
4445
:configure,
4546
:idle_interval,
4647
:idle_limit,

0 commit comments

Comments
 (0)