dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Http::getProxy() method to get proxy configuration
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
JobQueueGroup.php
diff --git
a/includes/jobqueue/JobQueueGroup.php
b/includes/jobqueue/JobQueueGroup.php
index
a702d59
..
4609d2d
100644
(file)
--- a/
includes/jobqueue/JobQueueGroup.php
+++ b/
includes/jobqueue/JobQueueGroup.php
@@
-394,7
+394,11
@@
class JobQueueGroup {
return $value['v'];
} else {
$value = $wgConf->getConfig( $this->wiki, $name );
return $value['v'];
} else {
$value = $wgConf->getConfig( $this->wiki, $name );
- $cache->set( $key, array( 'v' => $value ), 86400 + mt_rand( 0, 86400 ) );
+ $cache->set(
+ $key,
+ array( 'v' => $value ),
+ $cache::TTL_DAY + mt_rand( 0, $cache::TTL_DAY )
+ );
return $value;
}
return $value;
}