jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/371960 )
Change subject: JobQueueEventBus: Populate the database field. ...................................................................... JobQueueEventBus: Populate the database field. We require that all mediawiki-related events have a 'database' field, so populate it for job events as well. Once this is deployed, we need to revert 368246 Change-Id: I6e6b5cd088859413f32c30103f734f4dc405dc15 (cherry picked from commit 5d43d7dde0dc942a33609081e2bf11f3a933d3e7) --- M JobQueueEventBus.php 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: jenkins-bot: Verified Dereckson: Looks good to me, approved diff --git a/JobQueueEventBus.php b/JobQueueEventBus.php index 3bdba26..ee7980e 100644 --- a/JobQueueEventBus.php +++ b/JobQueueEventBus.php @@ -4,7 +4,10 @@ class JobQueueEventBus extends JobQueue { private static function createJobEvent( IJobSpecification $job ) { + global $wgDBname; + $attrs = [ + 'database' => $wgDBname, 'type' => $job->getType(), 'page_namespace' => $job->getTitle()->getNamespace(), 'page_title' => $job->getTitle()->getPrefixedDBkey() -- To view, visit https://gerrit.wikimedia.org/r/371960 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6e6b5cd088859413f32c30103f734f4dc405dc15 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/EventBus Gerrit-Branch: wmf/1.30.0-wmf.11 Gerrit-Owner: Ppchelko <ppche...@wikimedia.org> Gerrit-Reviewer: Dereckson <dereck...@espace-win.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits