From 3ca6f36c9025f27f823d86f00f448c86c27f96ac Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 8 Apr 2015 09:24:36 -0700 Subject: [PATCH] Use wfWaitForSlaves in upload stash cleanup script Bug: T95382 Change-Id: I8d93eb15064693634076e864ed6724392448cb45 --- maintenance/cleanupUploadStash.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/cleanupUploadStash.php b/maintenance/cleanupUploadStash.php index 24b63a8bab..70490e1b68 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" ); } } -- 2.20.1