summaryrefslogtreecommitdiffstats
path: root/templates/public/art.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-09 00:09:34 +0200
committerDan McGee <dan@archlinux.org>2010-10-09 00:09:34 +0200
commit16b27bc9e1ad6c5f4ad8cbe732b1e76c4df5edf6 (patch)
tree2114ec3a14b7709259fb4b14a341546d723e73a0 /templates/public/art.html
parent1946d3d144c555a51ee7072b215126be931247aa (diff)
downloadarchweb-16b27bc9e1ad6c5f4ad8cbe732b1e76c4df5edf6.tar.gz
archweb-16b27bc9e1ad6c5f4ad8cbe732b1e76c4df5edf6.tar.xz
Fix potential race conditions in caching
Use a 'set to None' sentinel to indicate data updates are in progress and we need to hold off a bit on caching a new value. This logic is gleamed from the "Scaling Django" slides presented by Mike Malone and available freely on SlideShare. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/art.html')
0 files changed, 0 insertions, 0 deletions