ActionScheduler_QueueCleaner::mark_failures( int $time_limit = 300 )

Mark actions that have been running for more than a given time limit as failed, based on the assumption some uncatachable and unloggable fatal error occurred during processing.


Description Description

When called by ActionScheduler_Abstract_QueueRunner::run_cleanup(), the time limit passed as a parameter is 10x the time limit used for queue processing.


Parameters Parameters

$time_limit

(Optional) The number of seconds to allow an action to run before it is considered to have failed. Default 300 (5 minutes).

Default value: 300


Top ↑

Source Source

File: packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.