Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS
SVN: [114793] trunk/extensions/PageTriage/includes/ArticleMetadata.php
 

Index | Next | Previous | View Flat


kaldari at svn

Apr 6, 2012, 6:08 PM


Views: 68
Permalink
SVN: [114793] trunk/extensions/PageTriage/includes/ArticleMetadata.php

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114793

Revision: 114793
Author: kaldari
Date: 2012-04-07 01:08:35 +0000 (Sat, 07 Apr 2012)
Log Message:
-----------
cache metadata for 24 hours max so that info (especially about users) isnt too out of date

Modified Paths:
--------------
trunk/extensions/PageTriage/includes/ArticleMetadata.php

Modified: trunk/extensions/PageTriage/includes/ArticleMetadata.php
===================================================================
--- trunk/extensions/PageTriage/includes/ArticleMetadata.php 2012-04-07 00:52:49 UTC (rev 114792)
+++ trunk/extensions/PageTriage/includes/ArticleMetadata.php 2012-04-07 01:08:35 UTC (rev 114793)
@@ -122,7 +122,7 @@
global $wgMemc;

$this->flushMetadataFromCache( $pageId );
- $wgMemc->set( $this->memcKeyPrefix() . '-' . $pageId, $singleData );
+ $wgMemc->set( $this->memcKeyPrefix() . '-' . $pageId, $singleData, 86400 ); // 24 hours
}

/**


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Subject User Time
SVN: [114793] trunk/extensions/PageTriage/includes/ArticleMetadata.php kaldari at svn Apr 6, 2012, 6:08 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.