diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-09 17:25:32 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-09 17:25:32 -0500 |
commit | 895f8a20d35a18f3a0cc6e1530eb40292270fc7c (patch) | |
tree | 979c30604db8972869e13890742680c437c1c9ec /releng/views.py | |
parent | 5fe626c6cc8444603cf7ae5199271b69d38ff255 (diff) |
reporead: allow batching of package updates
The real reason I originally added transactions to this code was to
prevent half-updates; e.g. a package gets in without the matching
depends values. We can safely commit between packages and resume
processing the database at a later time.
Take advantage of this fact and commit every so often in batch fashion
if we have a lot of updates piling up. In the case of updating the files
DB, this can really cut down on the need to hold open a long-running,
statement heavy transaction and get the information public faster.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng/views.py')
0 files changed, 0 insertions, 0 deletions