aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJessica Tallon <tsyesika@tsyesika.se>2015-12-28 12:55:33 +0000
committerJessica Tallon <tsyesika@tsyesika.se>2015-12-29 16:42:37 +0000
commitccd9dabe751f3a43573e4c5ba637e9dceb84d09b (patch)
tree4ad0f44e15d99a823fa141b8e42ad56537e813b9 /setup.py
parent63053f8c6608501832dbc9d9ab34d45a12204a11 (diff)
downloadmediagoblin-ccd9dabe751f3a43573e4c5ba637e9dceb84d09b.tar.lz
mediagoblin-ccd9dabe751f3a43573e4c5ba637e9dceb84d09b.tar.xz
mediagoblin-ccd9dabe751f3a43573e4c5ba637e9dceb84d09b.zip
Fix #5368 - Improve test efficiancy
There were a number of tests where lots of models where being iterated through and then at the end committing them. The problem is all the changes had to be kept in memory or on disk somewhere before they were commit to the database. This fix commits each change as it's being made, allowing resources to be freed and fixing some of the inefficiencies
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions