diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-08 17:09:34 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-08 17:09:34 -0500 |
commit | 16b27bc9e1ad6c5f4ad8cbe732b1e76c4df5edf6 (patch) | |
tree | 2114ec3a14b7709259fb4b14a341546d723e73a0 /news/migrations | |
parent | 1946d3d144c555a51ee7072b215126be931247aa (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 'news/migrations')
0 files changed, 0 insertions, 0 deletions