function jsonapi_update_9401
Set values for maintenance_header_retry_seconds min and max.
See also
https://www.drupal.org/node/3247453
File
-
core/
modules/ jsonapi/ jsonapi.install, line 91
Code
function jsonapi_update_9401() {
$config = \Drupal::configFactory()->getEditable('jsonapi.settings');
$config->set('maintenance_header_retry_seconds', [
'min' => 5,
'max' => 10,
]);
$config->save(TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.