Skip to content

Github mirror of "mediawiki/services/jobrunner" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

License

Notifications You must be signed in to change notification settings

HydraWiki/mediawiki-services-jobrunner

 
 

Repository files navigation

NAME
redisJobRunnerService -- Continuously process a MediaWiki jobqueue

DESCRIPTION
redisJobRunnerService is an infinite "while loop" used to call MediaWiki runJobs.php
and eventually attempt to process any job enqueued. A number of virtual sub-loops with
their own runners and job types must be defined via parameters. These loops can set any
of the job types as either low or high priority. High priority will get ~80% of the time
share of the sub-loop under "busy" conditions. If there are few high priority jobs, the
loops will spend much more of their time on the low priority ones.

The runner must be started with a config file location specified.
An annotated example config file is provided in jobrunner.sample.json.
You will probably want to run this script under your webserver username.
The runner can be made into a service via upstart (or anything comparable).

Example:
redisJobRunnerService --config-file=/etc/jobrunner/jobrunner.json --verbose

LICENSE
GPLv2.0, see COPYING at the root of the repository for the complete license.

About

Github mirror of "mediawiki/services/jobrunner" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%