Config Actions normally run when a module containing the actions is enabled. This is done via the hook_installed_modules.
However, when config is imported, either via "drush config-import" or via the "install from config" option, modules can also be enabled. This causes the action to run, and then the config created by the action is overwritten by whatever config is being imported. This causes the drupal install to take a lot longer because of config_actions.
On a large client site that uses config actions to model their 20+ content types and 20+ fields per content type, the site-install time was 30min (local docker config). The patch provided below drops this down to only 10min.
Comments
Comment #2
mpotter commentedComment #4
mpotter commentedCommitted to 0260559