On Wednesday, November 7, 2012 8:24:38 PM UTC-8, CaduceusAbode wrote:

> Thanks for the fast reply Jeremy,
>
> I will plan to upgrade to Sequel 3.41, I currently have 3.38. 
>
> I also like the idea of the connection_validator extension and will try it 
> now.
>
> So I can just do something like this :
>
>        DB = Sequel.connect(DATABASE_URL)
>        DB.extension(:connection_validator)
>              .......Other DB stuff....
>
> and it should be good to go?
>

Assuming your server idle timeout is more than 1 hour, it should.  If it is 
less than one hour, you might need to modify the timeout (see the extension 
documentation).  You'll need Sequel 3.41 to use the connection_validator 
extension, it was a introduced in that version.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/GyyurLnCAiAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to