Re: [Sqlalchemy-users] Customizing Connection Pool

2006-08-15 Thread Michael Bayer
just send the options to create_engine(). On Aug 15, 2006, at 3:41 PM, Dennis Muhlestein wrote: > Is there a way to customize the connection pool without providing a > connection method? > >> From the documentation: > .. > def getconn(): > return MySQLdb.connect(user='ed', dbname='mydb')

[Sqlalchemy-users] Customizing Connection Pool

2006-08-15 Thread Dennis Muhlestein
Is there a way to customize the connection pool without providing a connection method? >From the documentation: .. def getconn(): return MySQLdb.connect(user='ed', dbname='mydb') engine = create_engine('mysql', pool=pool.QueuePool(getconn, pool_size=20, max_overflow=40)) .. It seem