You are here

public function SerialLauncher::defaultConfiguration in Ultimate Cron 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides CronPlugin::defaultConfiguration

File

src/Plugin/ultimate_cron/Launcher/SerialLauncher.php, line 36

Class

SerialLauncher
Ultimate Cron launcher plugin class.

Namespace

Drupal\ultimate_cron\Plugin\ultimate_cron\Launcher

Code

public function defaultConfiguration() {
  return array(
    'timeouts' => array(
      'lock_timeout' => 3600,
      'max_execution_time' => 3600,
    ),
    'launcher' => array(
      'max_threads' => 1,
      'thread' => 'any',
    ),
  ) + parent::defaultConfiguration();
}