Awesome, thanks! I should remember to check extensions/plugins next time ;)

On Tue, Jun 25, 2019 at 5:01 PM Jeremy Evans <[email protected]> wrote:

> On Tuesday, June 25, 2019 at 2:23:36 PM UTC-7, Stephen Weil wrote:
>>
>> For context: I am using Sequel (5.14) on jruby to connect to an AS400
>> using jdbc/jt400 and the sequel-jdbc-as400 gem. I know the AS400 adapter
>> has been deprecated as of Sequel 5.0, but I believe my question pertains
>> more narrowly to the ConnectionPool.
>>
>> I would like to implement a maximum lifetime for connections in the pool.
>> Is there any way of implementing this using Sequel's ConnectionPool
>> (threaded)? It seems like the answer is probably "no", but I wanted to be
>> sure I wasn't missing something.
>>
>
> The connection_expiration extension implements support for this:
> http://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/connection_expiration_rb.html
>
> Thanks,
> Jeremy
>
> --
> You received this message because you are subscribed to the Google Groups
> "sequel-talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sequel-talk.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sequel-talk/ee8b685c-20f7-4919-9179-031e93128fb8%40googlegroups.com
> <https://groups.google.com/d/msgid/sequel-talk/ee8b685c-20f7-4919-9179-031e93128fb8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/CANba2HPfAHGHAU3fVJuobYKE%2Bo29cene0zU-3r0CJ9HxixCowA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to