
oops, please ignore my display of ignorance, I'll figure it out. thanks michael! shabat shalom. max On Nov 5, 2011, at 12:42 AM, Max Cantor wrote:
how would I tell?
max
On Nov 5, 2011, at 12:38 AM, Michael Snoyman wrote:
This is being caused by runSqlPool, which uses runPool' from the pool package. Switching to runPoolAllocate would mean an extra connection would be created when the pool is exhausted.
Getting a PoolExhaustedException is probably an indication that you need to bump the size of your connection pool. What is it set at currently?
On Fri, Nov 4, 2011 at 8:20 AM, Max Cantor
wrote: Hi,
I'm getting PoolExhaustedException's on persistent-postgres. I'm on persistent 6 and yesod 9. any ideas where to start looking for a source?
my runDB is straight out of the foundation:
runDB f = liftIOHandler $ fmap connPool getYesod >>= Settings.runConnectionPool f
thanks, max