Just to conclude the thread, the pull request was created and merged
(thanks!), so after it is released, this is how you would apply the
expiration timeout before *:preconnect* kicks in:
*DB = Sequel.connect(*
* adapter: 'mysql2', host: '127.0.0.1', port: '49153', database: 'my_db',*
* user: '
On Sun, Oct 17, 2021 at 4:49 AM Marcelo
wrote:
> Hello all,
>
> I'm adding the :connection_expiration extension to a DB instance, but I
> need to change its default expiration time with, for example:
> DB.pool.connection_expiration_timeout = 100
>
> However, this new expiration time is not applie
Hello all,
I'm adding the :connection_expiration extension to a DB instance, but I
need to change its default expiration time with, for example:
DB.pool.connection_expiration_timeout = 100
However, this new expiration time is not applied to the initial connection,
but rather the default value o