jenkins-bot has submitted this change and it was merged.
Change subject: [JobQueue] Use regular wfDebug() in some places.
......................................................................
[JobQueue] Use regular wfDebug() in some places.
* This is not worth a special log.
Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1
---
M includes/job/JobQueueDB.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Demon: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/job/JobQueueDB.php b/includes/job/JobQueueDB.php
index a685fe3..a8402ac 100644
--- a/includes/job/JobQueueDB.php
+++ b/includes/job/JobQueueDB.php
@@ -292,7 +292,7 @@
$title = Title::makeTitleSafe( $row->job_namespace,
$row->job_title );
if ( !$title ) {
$dbw->delete( 'job', array( 'job_id' =>
$row->job_id ), __METHOD__ );
- wfDebugLog( 'JobQueueDB', "Row has invalid
title '{$row->job_title}'." );
+ wfDebug( "Row has invalid title
'{$row->job_title}'." );
continue; // try again
}
$job = Job::factory( $row->job_cmd, $title,
@@ -434,7 +434,7 @@
array( 'job_cmd' => $this->type,
'job_token' => $uuid ), __METHOD__
);
if ( !$row ) { // raced out by duplicate job
removal
- wfDebugLog( 'JobQueueDB', "Row deleted
as duplicate by another process." );
+ wfDebug( "Row deleted as duplicate by
another process." );
}
} else {
break; // nothing to do
--
To view, visit https://gerrit.wikimedia.org/r/60073
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits