Flush lazy jobs in load.php and api.php too
[lhc/web/wiklou.git] / load.php
index ef2df31..d77a689 100644 (file)
--- a/load.php
+++ b/load.php
@@ -43,6 +43,8 @@ $configFactory = ConfigFactory::getDefaultInstance();
 $resourceLoader = new ResourceLoader( $configFactory->makeConfig( 'main' ) );
 $resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) );
 
+JobQueueGroup::pushLazyJobs();
+
 Profiler::instance()->setTemplated( true );
 wfLogProfilingData();