Topic on Project:Support desk

What is the job "enqueue" Main_Page doing?

4
Subfader (talkcontribs)

After truncating the job table (3.5 million old entries), it quickly fills again with multiple entries of the type "enqueue" "Main_Page". After 5 minutes I already have 260 of them.

When I runJobs.php they look like

2016-09-06 11:56:45 enqueue Main_Page jobsByWiki=array(1) (id=78) STARTING
2016-09-06 11:56:45 enqueue Main_Page jobsByWiki=array(1) (id=78) t=1 good

What are these? They seem to have no effect imo.

Subfader (talkcontribs)

Nobody? My job queue filled in 15 seconds:

87.123.36.109 (talkcontribs)

Did you have a look into the source code to see, what the enqueue job type is doing?

Subfader (talkcontribs)

Yep. Cannot find such job_cmd variable definition except for DefaultSettings.php

$wgJobClasses = array(
	'refreshLinks' => 'RefreshLinksJob',
	'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
	'sendMail' => 'EmaillingJob',
	'enotifNotify' => 'EnotifNotifyJob',
	'fixDoubleRedirect' => 'DoubleRedirectJob',
	'uploadFromUrl' => 'UploadFromUrlJob',
	'AssembleUploadChunks' => 'AssembleUploadChunksJob',
	'PublishStashedFile' => 'PublishStashedFileJob',
	'ThumbnailRender' => 'ThumbnailRenderJob',
	'recentChangesUpdate' => 'RecentChangesUpdateJob',
	'refreshLinksPrioritized' => 'RefreshLinksJob', // for cascading protection
	'enqueue' => 'EnqueueJob', // local queue for multi-DC setups
	'null' => 'NullJob'
);

Not sure what "multi-DC setups" are.

Reply to "What is the job "enqueue" Main_Page doing?"