]> err.no Git - dak/commit
dakmultiprocessing: close all session
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 26 Mar 2011 17:09:11 +0000 (17:09 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 26 Mar 2011 17:09:11 +0000 (17:09 +0000)
commit456b7dde5f862666d82f4e8f48234f08a941fb9a
treec75e5907a545bc8651514789c3632c469a19ab6d
parent657d989f7e2a9409c29da41d42fda85bcf8a64e2
dakmultiprocessing: close all session

Make sure to close all sessions so we do not run out of connections.
Before this exceptions in the workers might leave open transactions
around.

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
daklib/dakmultiprocessing.py