Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We are preventing configuration changes on some of our production sites using the config_readonly module, so that we can maintain clean config-in-code setups.
However, it appears that xmlsitemap, when rebuilt during a cron run, calls batchVariableSet() and saves config. Cron dies when config_readonly is on.
Is what's being saved in config really necessary to be there? Could it be stored somewhere else?
Comment | File | Size | Author |
---|---|---|---|
#2 | 2972043-support-config-readonly.patch | 414 bytes | Dave Reid |
|
Comments
Comment #2
Dave ReidThis moves the $this->config->save() call to not always happen every time.
Comment #4
Dave Reid