Skip to content
Browse files

recycle connections (bug 656341)

  • Loading branch information...
1 parent c9b3888 commit ccf566fe9f2645e1ff4debf48244c4dbeca1ed43 @andymckay andymckay committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 services/update.py
View
2 services/update.py
@@ -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.
Something went wrong with that request. Please try again.