src/Bootstrap/Listeners/BeforeStartListener.php
private function initCrontabMemoryTable()
    {
        /** @var array[] $settings */
        $settings = App::getAppProperties()->get('server');
        $settings = $settings['crontab'];

        $taskCount = isset($settings['task_count']) && $settings['task_count'] > 0 ? $settings['task_count'] : null;
        $taskQueue = isset($settings['task_queue']) && $settings['task_queue'] > 0 ? $settings['task_queue'] : null;

        TableCrontab::init($taskCount, $taskQueue);
    }
private function initCrontabMemoryTable()
    {
        /** @var array[] $settings */
        $settings = App::getAppProperties()->get('server');
        $settings = $settings['crontab'];

        $taskCount = isset($settings['task_count']) && $settings['task_count'] > 0 ? $settings['task_count'] : null;
        $taskQueue = isset($settings['task_queue']) && $settings['task_queue'] > 0 ? $settings['task_queue'] : null;

        TableCrontab::init($taskCount, $taskQueue);
    }
private function initCrontabMemoryTable ( ) { /** @var array[] $settings */ $ settings = App :: getAppProperties ( ) -> get ( 'server' ) ; $ settings = $ settings [ 'crontab' ] ; $ taskCount = isset ( $ settings [ 'task_count' ] ) && $ settings [ 'task_count' ] > 0 ? $ settings [ 'task_count' ] : null ; $ taskQueue = isset ( $ settings [ 'task_queue' ] ) && $ settings [ 'task_queue' ] > 0 ? $ settings [ 'task_queue' ] : null ; TableCrontab :: init ( $ taskCount , $ taskQueue ) ; }
init table of crontab
init table of crontab