Added $wgRunJobsAsync to allow running jobs the old way
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index a3c22b8..5b2360c 100644 (file)
@@ -6922,6 +6922,14 @@ $wgHTTPConnectTimeout = 5e0;
  */
 $wgJobRunRate = 1;
 
+/**
+ * When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process
+ * to handle the job execution, instead of blocking the request until the job
+ * execution finishes.
+ * @since 1.23
+ */
+$wgRunJobsAsync = true;
+
 /**
  * Number of rows to update per job
  */