<?php
namespace App\Cron\Job\Utils; abstract class ShortRunningCronJobAbstract extends GeneralAbstract { public function __construct() { parent::__construct(); $this->options['dbUpdateInterval'] = 0.5; $this->options['allowMultipleInstances'] = false; $this->options['cronPriority'] = 'medium'; $this->options['maxLoad'] = (Float)\App\Config\ServerLoadLimits::getInstance()->get('overload'); } } 