Home
last modified time | relevance | path

Searched refs:timeTillRefresh (Results 1 – 6 of 6) sorted by relevance

/dports/www/mediawiki135/mediawiki-1.35.5/includes/libs/objectcache/wancache/
H A DWANObjectCache.php2578 * @param int $timeTillRefresh Age of key when it should be refreshed if popular (seconds)
2582 protected function worthRefreshPopular( $asOf, $ageNew, $timeTillRefresh, $now ) { argument
2583 if ( $ageNew < 0 || $timeTillRefresh <= 0 ) {
2597 $refreshWindowSec = max( $timeTillRefresh - $ageNew - self::$RAMPUP_TTL / 2, 1 );
2609 "worthRefreshPopular($asOf, $ageNew, $timeTillRefresh, $now): " .
/dports/www/mediawiki136/mediawiki-1.36.3/includes/libs/objectcache/wancache/
H A DWANObjectCache.php2825 * @param int $timeTillRefresh Age of key when it should be refreshed if popular (seconds)
2829 protected function worthRefreshPopular( $asOf, $ageNew, $timeTillRefresh, $now ) { argument
2830 if ( $ageNew < 0 || $timeTillRefresh <= 0 ) {
2844 $refreshWindowSec = max( $timeTillRefresh - $ageNew - self::RAMPUP_TTL / 2, 1 );
2856 "worthRefreshPopular($asOf, $ageNew, $timeTillRefresh, $now): " .
/dports/www/mediawiki137/mediawiki-1.37.1/includes/libs/objectcache/wancache/
H A DWANObjectCache.php2819 * @param int $timeTillRefresh Age of key when it should be refreshed if popular (seconds)
2823 protected function worthRefreshPopular( $asOf, $ageNew, $timeTillRefresh, $now ) { argument
2824 if ( $ageNew < 0 || $timeTillRefresh <= 0 ) {
2838 $refreshWindowSec = max( $timeTillRefresh - $ageNew - self::RAMPUP_TTL / 2, 1 );
2850 "worthRefreshPopular($asOf, $ageNew, $timeTillRefresh, $now): " .
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/unit/includes/libs/objectcache/
H A DWANObjectCacheTest.php2511 protected function worthRefreshPopular( $asOf, $ageNew, $timeTillRefresh, $now ) { argument
2512 return ( ( $now - $asOf ) > $timeTillRefresh );
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/unit/includes/libs/objectcache/
H A DWANObjectCacheTest.php2509 protected function worthRefreshPopular( $asOf, $ageNew, $timeTillRefresh, $now ) { argument
2510 return ( ( $now - $asOf ) > $timeTillRefresh );
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/libs/objectcache/
H A DWANObjectCacheTest.php2503 protected function worthRefreshPopular( $asOf, $ageNew, $timeTillRefresh, $now ) { argument
2504 return ( ( $now - $asOf ) > $timeTillRefresh );