Hiya,
Thanks for the help with the above - now I've got the database pooling
sorted I'll need to validate the connections. We have several database
connections (to different databases) in one application.
I'm globally loading the connection_validator extension, I can't seem to
find a method to globally define the connection_validation_timeout. Is this
possible or does it need to be done on every database connection?
Thanks
On Tuesday, 14 April 2015 16:09:28 UTC+1, John-Junior Murray wrote:
>
> Hi,
>
> I'm having a few issues using Sequel and I'm wondering if you can help.
>
> The Oracle database we connect to requires pooled connections (handled on
> the database side). I can see in the documentation that you're able to
> specify max_connections, but this launches X amount of dedicated
> connections.
>
> we're currently connecting as below
>
> $db = Sequel.oracle('database', :user=>'user', :password=>'pword',
>> :max_connections=>80)
>
>
> Is there a way you can either -
>
> 1) Specify that the database should pool the connections instead of the
> app.
> 2) Pass an oracle connection string into sequel?
>
> I'm using Ruby/Sinatra with Sequel.
>
> Thanks in advance.
>
> John
>
--
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 http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.