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
Introduce Maintenance::getBatchSize()
[lhc/web/wiklou.git]
/
maintenance
/
invalidateUserSessions.php
diff --git
a/maintenance/invalidateUserSessions.php
b/maintenance/invalidateUserSessions.php
index
11e3372
..
8f67acd
100644
(file)
--- a/
maintenance/invalidateUserSessions.php
+++ b/
maintenance/invalidateUserSessions.php
@@
-83,7
+83,7
@@
class InvalidateUserSesssions extends Maintenance {
. str_replace( [ "\r", "\n" ], ' ', $e->getMessage() ) . "\n" );
}
- if ( $i % $this->
mBatchSize
) {
+ if ( $i % $this->
getBatchSize()
) {
$lbFactory->waitForReplication();
}
}