You are here

public function AcquiaPurgeProcessorRuntime::onShutdown in Acquia Purge 7

Custom shutdown function from which we check if work needs to be done.

See also

acquia_purge_exit()

File

lib/processor/AcquiaPurgeProcessorRuntime.php, line 74
Contains AcquiaPurgeProcessorRuntime.

Class

AcquiaPurgeProcessorRuntime
Processes the queue at the end of EVERY request.

Code

public function onShutdown() {
  $this
    ->processQueueChunk();
}