summaryrefslogtreecommitdiff
path: root/mirrors/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-12 09:58:53 -0600
committerDan McGee <dan@archlinux.org>2011-12-12 09:59:42 -0600
commit56af1e4f50587333da4e8c38800be8f720af98b7 (patch)
treebf3a9ea9110b8941ddb86d1d886e2a5f471fb705 /mirrors/models.py
parent99eada17224b54799e7c2331a2b88dee76420107 (diff)
reporead: more efficient deletion of files
Rather than delegating to Django and batch deletion by ID, force issuing of a single delete query to clear out all existing file objects when necessary. This should speed up the deletion and update of packages with a lot of files by a non-trivial amount. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/models.py')
0 files changed, 0 insertions, 0 deletions