diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-02-28 11:25:40 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-02-28 11:54:53 -0500 |
commit | e7d8c70958e80924408c0e31fa06f1ad06607f99 (patch) | |
tree | ee20a10e024ff7859de88de6cd5d63f5c4eb2171 /src/lib/Bcfg2/Server/Plugin | |
parent | a3635ff0a73b8aec6ec66eb964e9ae29151e4e78 (diff) | |
download | bcfg2-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/Plugin')
0 files changed, 0 insertions, 0 deletions