Hello.
I'm using Sequel with an Adhearsion application and I like it.
Unfortunately, I sometimes see in my application's logfile the
following:
#<Sequel::PoolTimeout: Sequel::PoolTimeout>
This is how I connect to my database:
DB = Sequel.jdbc('mysql://f.q.d.n/database?user=foo&password=bar')
I read this in rdoc:
http://sequel.rubyforge.org/rdoc/classes/Sequel/ConnectionPool.html
and I don't understand how
pool = ConnectionPool.new(:max_connections=>10) {MyConnection.new
(opts)}
relates to me. Is MyConnection.new somehow representative of
Sequel.jdbc?
I tried the following, and while it didn't generate any errors, it
didn't seem to help. Am I on the right track?
DB = Sequel.jdbc('mysql://f.q.d.n/database?
user=foo&password=bar', :pool_timeout => 10)
---
Lars Lehtonen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
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
-~----------~----~----~----~------~----~------~--~---