diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-12 09:58:53 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-12 09:59:42 -0600 |
commit | 56af1e4f50587333da4e8c38800be8f720af98b7 (patch) | |
tree | bf3a9ea9110b8941ddb86d1d886e2a5f471fb705 /releng/models.py | |
parent | 99eada17224b54799e7c2331a2b88dee76420107 (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 'releng/models.py')
0 files changed, 0 insertions, 0 deletions