EBernhardson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/214058
Change subject: Log what job types were never inserted
......................................................................
Log what job types were never inserted
I am seeing a constant stream of
Notice: JobQueueGroup::__destruct: 1 buffered job(s) never inserted. in
/srv/mediawiki/php-1.26wmf6/includes/jobqueue/JobQueueGroup.php on line
419
In the production logfiles. Log what type of jobs these are so we can figure
out
how to fix them.
Change-Id: I7beca910d8c4b20aa20bdec4883e399fd94fbcfd
---
M includes/jobqueue/JobQueueGroup.php
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/58/214058/1
diff --git a/includes/jobqueue/JobQueueGroup.php
b/includes/jobqueue/JobQueueGroup.php
index 3d2393e..5bd1cc9 100644
--- a/includes/jobqueue/JobQueueGroup.php
+++ b/includes/jobqueue/JobQueueGroup.php
@@ -416,7 +416,8 @@
function __destruct() {
$n = count( $this->bufferedJobs );
if ( $n > 0 ) {
- trigger_error( __METHOD__ . ": $n buffered job(s) never
inserted." );
+ $type = implode( ', ', array_unique( array_map(
'get_class', $this->bufferedJobs ) ) );
+ trigger_error( __METHOD__ . ": $n buffered job(s) of
type(s) $type never inserted." );
}
}
}
--
To view, visit https://gerrit.wikimedia.org/r/214058
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7beca910d8c4b20aa20bdec4883e399fd94fbcfd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits