ActionScheduler_QueueRunner::clear_caches()
Running large batches can eat up memory, as WP adds data to its object cache.
Description Description
If using a persistent object store, this has the side effect of flushing that as well, so this is disabled by default. To enable:
add_filter( ‘action_scheduler_queue_runner_flush_cache’, ‘__return_true’ );
Source Source
File: packages/action-scheduler/classes/ActionScheduler_QueueRunner.php