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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to