• Resolved elektrobank

    (@elektrobank)


    I’m using action_scheduler_retention_period filter to purge old actions, which works to delete ‘completed’ and ‘canceled’ actions, but ignores ‘failed’ actions. Why doesn’t it purge failed actions too? Is there any way to make it do that, or do I have to write my own code for that?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @elektrobank There’s an issue for this, so for now you’d need to write yourself.

    Thread Starter elektrobank

    (@elektrobank)

    Thanks. Are there any considerations I need to take when deleting records from these tables?

    • This reply was modified 4 years, 2 months ago by elektrobank.
    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    I think the major thing to consider is the reason it doesn’t currently purge them: debugging for failed actions.

    If you are checking this regularly, perhaps this is less of an issue, but if you don’t, and they are removed, your trail to finding any issues is gone.

    Hopefully that helps! Have a great one!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not purging Failed actions’ is closed to new replies.