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:
847123f
)
Convert SiteStatsUpdate to using newer addCallableUpdate method
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 19 Jul 2016 20:53:51 +0000
(13:53 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 19 Jul 2016 20:53:51 +0000
(13:53 -0700)
Change-Id: Ic6037b90edecc936432e997c504e81b3ae8732ad
includes/deferred/SiteStatsUpdate.php
patch
|
blob
|
history
diff --git
a/includes/deferred/SiteStatsUpdate.php
b/includes/deferred/SiteStatsUpdate.php
index
5a62185
..
b8e2726
100644
(file)
--- a/
includes/deferred/SiteStatsUpdate.php
+++ b/
includes/deferred/SiteStatsUpdate.php
@@
-74,7
+74,7
@@
class SiteStatsUpdate implements DeferrableUpdate {
$this->doUpdatePendingDeltas();
} else {
// Need a separate transaction because this a global lock
-
wfGetDB( DB_MASTER )->onTransactionIdl
e( [ $this, 'tryDBUpdateInternal' ] );
+
DeferredUpdates::addCallableUpdat
e( [ $this, 'tryDBUpdateInternal' ] );
}
}