diff options
author | Dan McGee <dan@archlinux.org> | 2012-11-19 15:10:21 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-11-21 06:25:04 +0100 |
commit | f0f6f7235a62186c1cae9c79036dde5d8821373d (patch) | |
tree | ded90501fde58ae11ca4aaf39656835e8c4e5f7e /sitemaps.py | |
parent | 9db1d4c6a0c60f32628dbd8d217fbd6c3ba99509 (diff) | |
download | archweb-f0f6f7235a62186c1cae9c79036dde5d8821373d.tar.gz archweb-f0f6f7235a62186c1cae9c79036dde5d8821373d.tar.xz |
Fix mirror URL duplication in status view
We need to ensure we don't duplicate URLs in the status view, so add a
distinct() call back in to the queryset when it was inadvertently
dropped in commit a2cfa7edbb. This negates a lot of the performance
gains we had, unfortunately, so it looks like a nested subquery might be
more efficient. Disappointing the planner can't do this for us.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitemaps.py')
0 files changed, 0 insertions, 0 deletions