1 system.install system_update_1048()

Set background fetch defaults.

Related topics

File

core/modules/system/system.install, line 2863
Install, update and uninstall functions for the system module.

Code

function system_update_1048() {
  config('system.core')
    ->set('page_cache_background_fetch', 1)
    ->set('page_cache_keep_stale_age', 172800)
    ->save();
}