summaryrefslogtreecommitdiff
path: root/devel/utils.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-12-17 08:24:41 -0600
committerDan McGee <dan@archlinux.org>2013-12-18 00:01:50 -0600
commit8e8e3d7aa7ac843a5523f971cb2c5426e9f05379 (patch)
treea14e59083e8d1e02fbade04dc50e3511c3943daf /devel/utils.py
parent77a45dc7bc6f0badb45ec043e85f1b542c52792e (diff)
reporead: bring back batched_bulk_create()
For packages with filelists with > 80,000 items, we were starting to see some serious memory issues in reporead. This was both on the statement generation side in Python as well as on the database side. Break the updates into chunks of 10,000 when we encounter packages with tons of files to control things in a bit. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/utils.py')
0 files changed, 0 insertions, 0 deletions