You are here

protected function UpdateRunnerUtils::getTimeout in Scheduled Updates 8

1 call to UpdateRunnerUtils::getTimeout()
UpdateRunnerUtils::runAllUpdates in src/UpdateRunnerUtils.php
Run run updates for all types.

File

src/UpdateRunnerUtils.php, line 117
Contains \Drupal\scheduled_updates\UpdateRunnerUtils.

Class

UpdateRunnerUtils
A service that runs all available updaters

Namespace

Drupal\scheduled_updates

Code

protected function getTimeout() {
  return (int) $this->config
    ->get('timeout') ? $this->config
    ->get('timeout') : 15;
}