*/
private $cacheKey = null;
+ /**
+ * @var int
+ */
+ private $cacheTimeout = 3600;
+
/**
* @since 1.21
*
}
$cache = wfGetMainCache();
- $cache->set( $this->getCacheKey(), $this->sites );
+ $cache->set( $this->getCacheKey(), $this->sites, $this->cacheTimeout );
wfProfileOut( __METHOD__ );
}