Skip to content

Commit

Permalink
Update RUCSSQueueRunner.php fixes wp-media#6119
Browse files Browse the repository at this point in the history
See:  wp-media#6119 for details

TL;DR

Fixes error:
```
PHP Fatal error: Uncaught InvalidArgumentException: The group "rocket-rucss" does not exist. in /srv/users/stgleather/apps/stgleather/public/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:907
```
  • Loading branch information
khalilgharbaoui committed Sep 10, 2023
1 parent 9cb64a3 commit ef7d3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/Engine/Common/Queue/RUCSSQueueRunner.php
Expand Up @@ -213,11 +213,11 @@ protected function do_batch( $size = 100, $context = '' ) {
$this->store->release_claim( $claim );
$this->monitor->detach();
$this->clear_caches();

$this->store->set_claim_filter( 'group', '' );
return $processed_actions;
} catch ( \Exception $exception ) {
Logger::debug( $exception->getMessage() );

$this->store->set_claim_filter( 'group', '' );
return 0;
}
}
Expand Down

0 comments on commit ef7d3db

Please sign in to comment.