Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231806

Change subject: Made WANObjectCache::get() comments more accurate
......................................................................

Made WANObjectCache::get() comments more accurate

Change-Id: I531c2dca6b552a6b3732d2506e7373c7d17b4b4c
---
M includes/libs/objectcache/WANObjectCache.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/06/231806/1

diff --git a/includes/libs/objectcache/WANObjectCache.php 
b/includes/libs/objectcache/WANObjectCache.php
index e8837b3..62b9296 100644
--- a/includes/libs/objectcache/WANObjectCache.php
+++ b/includes/libs/objectcache/WANObjectCache.php
@@ -128,9 +128,9 @@
         * Fetch the value of a key from cache
         *
         * If passed in, $curTTL is set to the remaining TTL (current time 
left):
-        *   - a) INF; if the key exists and has no TTL
-        *   - b) float (>=0); if the key exists and has a TTL
-        *   - c) float (<0); if the key is tombstoned or expired by $checkKeys
+        *   - a) INF; if the key exists, has no TTL, and is not expired by 
$checkKeys
+        *   - b) float (>=0); if the key exists, has a TTL, and is not expired 
by $checkKeys
+        *   - c) float (<0); if the key is tombstoned or existing but expired 
by $checkKeys
         *   - d) null; if the key does not exist and is not tombstoned
         *
         * If a key is tombstoned, $curTTL will reflect the time since delete().

-- 
To view, visit https://gerrit.wikimedia.org/r/231806
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I531c2dca6b552a6b3732d2506e7373c7d17b4b4c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to