Skip to content

Commit

Permalink
Add and enable purge queues module
Browse files Browse the repository at this point in the history
The purge queues module uses an alternate database table name and
structure.

Due to problems with Azure MariaDB we are seeing tables missing and
but without being able to recreate them due to tablespaces exists.

Using Purge Queues allows us a clean solution to using a separate
table name and the potential of optimizing purge queue usage by
ensuring unique entries.
  • Loading branch information
kasperg committed Jan 15, 2025
1 parent 73d540c commit c0932a6
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"drupal/pathauto": "^1.12",
"drupal/potion": "dev-2.x#e48d6ee336d960b9d2efb5d88e68402db6d229a6",
"drupal/purge": "^3.6",
"drupal/purge_queues": "^2.1",
"drupal/recurring_events": "^2",
"drupal/redirect": "^1.9",
"drupal/redis": "^1.7",
Expand Down
48 changes: 47 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ module:
purge_processor_cron: 0
purge_processor_lateruntime: 0
purge_queuer_coretags: 0
purge_queues: 0
purge_tokens: 0
recurring_events: 0
redirect: 0
Expand Down
7 changes: 7 additions & 0 deletions web/modules/custom/dpl_update/dpl_update.install
Original file line number Diff line number Diff line change
Expand Up @@ -360,3 +360,10 @@ function dpl_update_update_10030(): string {
function dpl_update_update_10031(): string {
return _dpl_update_install_modules(['simple_sitemap']);
}

/**
* Installing purge queues.
*/
function dpl_update_update_10032(): string {
return _dpl_update_install_modules(['purge_queues']);
}

0 comments on commit c0932a6

Please sign in to comment.