ActionScheduler_QueueCleaner

Class ActionScheduler_QueueCleaner


Description Description


Source Source

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


			

Top ↑

Methods Methods

  • __construct — ActionScheduler_QueueCleaner constructor.
  • clean — Do all of the cleaning actions.
  • delete_old_actions
  • get_batch_size — Get the batch size for cleaning the queue.
  • mark_failures — 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.
  • reset_timeouts — Unclaim pending actions that have not been run within a given time limit.

Top ↑

User Contributed Notes User Contributed Notes

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