Flush lazy jobs in load.php and api.php too
* A more proper solution will have one method for all this stuff Bug: T99775 Bug: T99849 Change-Id: I16a32b260386a85504eb85ea58f1156b4e581a83
This commit is contained in:
parent
e1611fec8d
commit
e58e4b498d
2 changed files with 4 additions and 0 deletions
2
api.php
2
api.php
|
|
@ -94,6 +94,8 @@ if ( function_exists( 'fastcgi_finish_request' ) ) {
|
|||
fastcgi_finish_request();
|
||||
}
|
||||
|
||||
JobQueueGroup::pushLazyJobs();
|
||||
|
||||
// Execute any deferred updates
|
||||
DeferredUpdates::doUpdates();
|
||||
|
||||
|
|
|
|||
2
load.php
2
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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue