From 969c4b502f28eef595236fa501fe843e0361e49b Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Tue, 13 Jan 2026 18:49:13 +0300 Subject: [PATCH 1/2] add checkout_retries to start options --- lib/db_connection.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/db_connection.ex b/lib/db_connection.ex index 7b9d642..197b0cc 100644 --- a/lib/db_connection.ex +++ b/lib/db_connection.ex @@ -123,6 +123,7 @@ defmodule DBConnection do | {:backoff_max, non_neg_integer} | {:backoff_min, non_neg_integer} | {:backoff_type, :stop | :exp | :rand | :rand_exp} + | {:checkout_retries, non_neg_integer} | {:configure, (keyword -> keyword) | {module, atom, [any]} | nil} | {:idle_interval, non_neg_integer} | {:idle_limit, non_neg_integer} @@ -626,6 +627,7 @@ defmodule DBConnection do :backoff_max, :backoff_min, :backoff_type, + :checkout_retries, :configure, :idle_interval, :idle_limit, From fe1404a55fb4006c1a6e9a6b1e474ad84155fd1f Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Tue, 13 Jan 2026 18:54:04 +0300 Subject: [PATCH 2/2] update available_start_options test --- test/db_connection_test.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/db_connection_test.exs b/test/db_connection_test.exs index e23cba4..395cdc1 100644 --- a/test/db_connection_test.exs +++ b/test/db_connection_test.exs @@ -41,6 +41,7 @@ defmodule DBConnectionTest do :backoff_max, :backoff_min, :backoff_type, + :checkout_retries, :configure, :idle_interval, :idle_limit,