summaryrefslogtreecommitdiff
path: root/maintenance/cleanupUploadStash.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/cleanupUploadStash.php')
-rw-r--r--maintenance/cleanupUploadStash.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/maintenance/cleanupUploadStash.php b/maintenance/cleanupUploadStash.php
index 24b63a8b..70490e1b 100644
--- a/maintenance/cleanupUploadStash.php
+++ b/maintenance/cleanupUploadStash.php
@@ -87,6 +87,7 @@ class UploadStashCleanup extends Maintenance {
$this->output( "Failed removing stashed upload with key: $key ($type)\n" );
}
if ( $i % 100 == 0 ) {
+ wfWaitForSlaves();
$this->output( "$i\n" );
}
}