summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-04-06 07:16:54 +0200
committerDan McGee <dan@archlinux.org>2009-04-06 07:16:54 +0200
commit5a551b2351ffa341eca24d0e4ba12876abb77b20 (patch)
treecf6bc828dcb2de39c16cc4097e5ee9d3edf72da9 /README
parent6d4ecc5023d7d8d1bcd57e217f4f6041a0fc086e (diff)
downloadarchweb-5a551b2351ffa341eca24d0e4ba12876abb77b20.tar.gz
archweb-5a551b2351ffa341eca24d0e4ba12876abb77b20.tar.xz
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 'README')
0 files changed, 0 insertions, 0 deletions