Skip to content

Commit 318d245

Browse files
authored
Merge pull request #30 from discoverygarden/feature/use-batching
Utilize batching.
2 parents d5c82f5 + dc05bba commit 318d245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drush/Commands/RebuildOaiEntries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(QueueFactory $queue) {
4141
* @aliases idr:roai
4242
*/
4343
public function rebuild() {
44-
rest_oai_pmh_cache_views();
44+
rest_oai_pmh_cache_views(FALSE, 'rest_oai_pmh_views_cache_cron', TRUE);
4545

4646
$batch = [
4747
'title' => $this->t('Processing OAI rebuild'),

0 commit comments

Comments
 (0)