summaryrefslogtreecommitdiffstats
path: root/main/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-21 08:00:18 +0200
committerDan McGee <dan@archlinux.org>2010-06-21 08:00:18 +0200
commit4c96b53f2ed9551028457ad6e0b26692c3cf385b (patch)
treef207d6e3c9e0c6b8b2ad5f4c122662f1a332d6c3 /main/admin.py
parentda9a1ecbf826c29b7bceb17b9f2d5a7c5f648e3b (diff)
downloadarchweb-4c96b53f2ed9551028457ad6e0b26692c3cf385b.tar.gz
archweb-4c96b53f2ed9551028457ad6e0b26692c3cf385b.tar.xz
Cache results of get_depends() and get_requiredby()
Do it in our actual cache rather than an object-level, single request cache. 300 seconds is good enough resolution to have this data right; if it is updated everyone will see the results 5 minutes late at the most. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
0 files changed, 0 insertions, 0 deletions