On Jan 18, 2008 2:55 PM, Marcin Kasperski <[EMAIL PROTECTED]>
wrote:

>
>
> > And I don't setup db conn on every requests. At least I think so.
>
> sqlalchemy.default.echo_pool = True
>

127.0.0.1 - - [19/Jan/2008:10:05:30 +0300] "GET ..."
2008-01-19 10:05:34,501 INFO sqlalchemy.pool.QueuePool.0x..ac Connection
<_mysql.connection open to 'localhost' at 9192f54> checked out from pool
2008-01-19 10:05:34,505 INFO sqlalchemy.pool.QueuePool.0x..ac Connection
<_mysql.connection open to 'localhost' at 9192f54> being returned to pool
2008-01-19 10:05:34,510 INFO sqlalchemy.pool.QueuePool.0x..ac Connection
<_mysql.connection open to 'localhost' at 9192f54> checked out from pool
2008-01-19 10:05:34,513 INFO sqlalchemy.pool.QueuePool.0x..ac Connection
<_mysql.connection open to 'localhost' at 9192f54> being returned to pool
127.0.0.1 - - [19/Jan/2008:10:05:34 +0300] "GET /..."

Seems OK, though I'm not sure why it's been checked out twice.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to