summaryrefslogtreecommitdiff
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-08 17:09:34 -0500
committerDan McGee <dan@archlinux.org>2010-10-08 17:09:34 -0500
commit16b27bc9e1ad6c5f4ad8cbe732b1e76c4df5edf6 (patch)
tree2114ec3a14b7709259fb4b14a341546d723e73a0 /mirrors
parent1946d3d144c555a51ee7072b215126be931247aa (diff)
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 'mirrors')
0 files changed, 0 insertions, 0 deletions