Skip to content

Commit

Permalink
Added cleaning for AS failing tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
CrochetFeve0251 committed Aug 2, 2023
1 parent 7655b4d commit fecd23d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/Engine/Common/Queue/Cleaner.php
Expand Up @@ -61,6 +61,7 @@ public function delete_old_actions() {

$statuses_to_purge = [
\ActionScheduler_Store::STATUS_COMPLETE,
\ActionScheduler_Store::STATUS_FAILED,
\ActionScheduler_Store::STATUS_CANCELED,
];
foreach ( $statuses_to_purge as $status ) {
Expand Down

0 comments on commit fecd23d

Please sign in to comment.