diff --git a/web/modules/custom/dpl_update/dpl_update.install b/web/modules/custom/dpl_update/dpl_update.install index 326442ad6..7f5bcbf64 100644 --- a/web/modules/custom/dpl_update/dpl_update.install +++ b/web/modules/custom/dpl_update/dpl_update.install @@ -367,3 +367,12 @@ function dpl_update_update_10031(): string { function dpl_update_update_10032(): string { return _dpl_update_install_modules(['purge_queues']); } + +/** + * Use alternate database backend for purge queue. + */ +function dpl_update_update_10033(): string { + // @see https://git.drupalcode.org/project/purge_queues/-/blob/2.0.x/src/Plugin/Purge/Queue/AltDatabaseQueue.php?ref_type=heads#L12 + \Drupal::configFactory()->getEditable('purge.plugins')->set('queue', 'database_alt')->save(); + return 'Configured purge queue to use database_alt.'; +}