Flush lazy jobs in load.php and api.php too
[lhc/web/wiklou.git] / api.php
diff --git a/api.php b/api.php
index 7775158..9721c4f 100644 (file)
--- a/api.php
+++ b/api.php
@@ -94,6 +94,8 @@ if ( function_exists( 'fastcgi_finish_request' ) ) {
        fastcgi_finish_request();
 }
 
+JobQueueGroup::pushLazyJobs();
+
 // Execute any deferred updates
 DeferredUpdates::doUpdates();