diff options
author | Dan McGee <dan@archlinux.org> | 2009-04-06 00:16:54 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-04-06 00:16:54 -0500 |
commit | 5a551b2351ffa341eca24d0e4ba12876abb77b20 (patch) | |
tree | cf6bc828dcb2de39c16cc4097e5ee9d3edf72da9 /packages | |
parent | 6d4ecc5023d7d8d1bcd57e217f4f6041a0fc086e (diff) |
reporead: dramatically reduce number of queries
Commit 789b5445cf originally set out to fix this problem but was not
complete. When doing an update of [extra], the code still did > 2000
database queries because of an ill-placed call to QuerySet.get(). By using a
dictionary lookup, we reduce the number of database queries to a measly 4
when updating extra and no new packages are present.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions