From 9b7d95fc961a78568bf6502bbb2546d6f23854af Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 11 May 2015 19:15:35 -0700 Subject: [PATCH] More "check key" doc comments Change-Id: Ide66bc396e811776a58fd6aa7c1af2337ea185bd --- includes/libs/objectcache/WANObjectCache.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 92bd0bdfa6..3099dcec4c 100755 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -263,6 +263,8 @@ class WANObjectCache { /** * Fetch the value of a timestamp "check" key * + * Note that "check" keys won't collide with other regular keys + * * @param string $key * @return float|bool TS_UNIX timestamp of the key; false if not present */ @@ -283,6 +285,8 @@ class WANObjectCache { * avoid race conditions where dependent keys get updated with a * stale value (e.g. from a DB slave). * + * Note that "check" keys won't collide with other regular keys + * * @see WANObjectCache::get() * * @param string $key Cache key -- 2.20.1