summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-09 17:25:32 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 17:25:32 -0500
commit895f8a20d35a18f3a0cc6e1530eb40292270fc7c (patch)
tree979c30604db8972869e13890742680c437c1c9ec /templates
parent5fe626c6cc8444603cf7ae5199271b69d38ff255 (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 'templates')
0 files changed, 0 insertions, 0 deletions