summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-28 11:25:40 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-28 11:54:53 -0500
commite7d8c70958e80924408c0e31fa06f1ad06607f99 (patch)
treeee20a10e024ff7859de88de6cd5d63f5c4eb2171 /src/lib/Bcfg2/Server
parenta3635ff0a73b8aec6ec66eb964e9ae29151e4e78 (diff)
downloadbcfg2-e7d8c70958e80924408c0e31fa06f1ad06607f99.tar.gz
bcfg2-e7d8c70958e80924408c0e31fa06f1ad06607f99.tar.bz2
bcfg2-e7d8c70958e80924408c0e31fa06f1ad06607f99.zip
Reporting: properly close db connection
Close the db connection at the end of each DjangoORM import, not when the reporting collector shuts down. The collector may not have even opened a connection, in the case of a storage backend other than DjangoORM. Fixes #157
Diffstat (limited to 'src/lib/Bcfg2/Server')
0 files changed, 0 insertions, 0 deletions