Permalink
Browse files

recycle connections (bug 656341)

  • Loading branch information...
Andy McKay
Andy McKay committed May 11, 2011
1 parent c9b3888 commit ccf566fe9f2645e1ff4debf48244c4dbeca1ed43
Showing with 1 addition and 1 deletion.
  1. +1 −1 services/update.py
View
@@ -81,7 +81,7 @@ def getconn():
passwd=db['PASSWORD'], db=db['NAME'])
-mypool = pool.QueuePool(getconn, max_overflow=10, pool_size=5)
+mypool = pool.QueuePool(getconn, max_overflow=10, pool_size=5, recycle=3600)
class Update(object):

0 comments on commit ccf566f

Please sign in to comment.