ActionScheduler_QueueCleaner::reset_timeouts( int $time_limit = 300 )
Unclaim pending actions that have not been run within a given time limit.
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 a queue to run before unclaiming its pending actions. Default 300 (5 minutes).
Default value: 300
Source Source
File: packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php