diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-12 16:58:53 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-12 16:59:42 +0100 |
commit | 56af1e4f50587333da4e8c38800be8f720af98b7 (patch) | |
tree | bf3a9ea9110b8941ddb86d1d886e2a5f471fb705 /main/migrations/0056_auto__chg_field_package_pkgdesc.py | |
parent | 99eada17224b54799e7c2331a2b88dee76420107 (diff) | |
download | archweb-56af1e4f50587333da4e8c38800be8f720af98b7.tar.gz archweb-56af1e4f50587333da4e8c38800be8f720af98b7.tar.xz |
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 'main/migrations/0056_auto__chg_field_package_pkgdesc.py')
0 files changed, 0 insertions, 0 deletions