Skip to content
Snippets Groups Projects
Commit 87fdc923 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2694391 by chx, dawehner, Yogesh Pawar, benjy, iMiksu, catch, alexpott,...

Issue #2694391 by chx, dawehner, Yogesh Pawar, benjy, iMiksu, catch, alexpott, Fabianx: Separate cache bin for migrations
parent c3cad9bd
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -21,6 +21,12 @@ services:
plugin.manager.migrate.id_map:
class: Drupal\migrate\Plugin\MigratePluginManager
arguments: [id_map, '@container.namespaces', '@cache.discovery', '@module_handler']
cache.discovery_migration:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
arguments: [discovery_migration]
plugin.manager.migration:
class: Drupal\migrate\Plugin\MigrationPluginManager
arguments: ['@module_handler', '@cache.discovery', '@language_manager']
arguments: ['@module_handler', '@cache.discovery_migration', '@language_manager']
......@@ -66,6 +66,14 @@
*/
# $settings['cache']['bins']['render'] = 'cache.backend.null';
/**
* Disable caching for migrations.
*
* Uncomment the code below to only store migrations in memory and not in the
* database. This makes it easier to develop custom migrations.
*/
# $settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory';
/**
* Disable Dynamic Page Cache.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment