dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc9eb60
)
Put a 15 minute limit on the cache key lock in nextJobDB.php
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 9 Nov 2012 00:18:28 +0000
(16:18 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 9 Nov 2012 00:20:11 +0000
(16:20 -0800)
Change-Id: I673539d8f77bdbce61023c8113c0f8d7a3016a32
maintenance/nextJobDB.php
patch
|
blob
|
history
diff --git
a/maintenance/nextJobDB.php
b/maintenance/nextJobDB.php
index
7a5ddac
..
875b93d
100644
(file)
--- a/
maintenance/nextJobDB.php
+++ b/
maintenance/nextJobDB.php
@@
-48,7
+48,7
@@
class nextJobDB extends Maintenance {
// regenerate the cache. Use any available stale cache if another
// process is currently regenerating the pending DB information.
if ( !$pendingDbInfo || mt_rand( 0, 100 ) == 0 ) {
- $lock = $wgMemc->add( 'jobqueue:dbs:v3:lock', 1 ); // lock
+ $lock = $wgMemc->add( 'jobqueue:dbs:v3:lock', 1
, 1800
); // lock
if ( $lock ) {
$pendingDbInfo = array(
'pendingDBs' => $this->getPendingDbs(),