metakgp / metakgp-wiki

Dockerized source for the metakgp wiki.
https://wiki.metakgp.org
GNU General Public License v3.0
23 stars 20 forks source link

Run a job from the queue every request #35

Closed amrav closed 6 years ago

amrav commented 6 years ago

While digging around on the server I discovered over 7k jobs that hadn't been run, because we'd configured the job run rate to be zero (presumably with the intention of running jobs via cron).

Set this to run one job every request, which should be fine at our level of traffic. Also enable async execution so that requests aren't slowed down.

icyflame commented 6 years ago

The meaning of these two options:

https://www.mediawiki.org/wiki/Manual:$wgJobRunRate

https://www.mediawiki.org/wiki/Manual:$wgRunJobsAsync