PHP 8.3.31
Preview: WorkerOptions.php Size: 2.43 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Queue/WorkerOptions.php

<?php

namespace Illuminate\Queue;

class WorkerOptions
{
    /**
     * The name of the worker.
     *
     * @var string
     */
    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;
    }
}

Directory Contents

Dirs: 8 × Files: 26

Name Size Perms Modified Actions
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
Capsule DIR
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
Console DIR
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
Events DIR
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
Failed DIR
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
Jobs DIR
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
- drwxrwxrwx 2025-09-17 06:52:57
Edit Download
5.92 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
2.50 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
9.25 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.79 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
11.60 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
6.90 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
552 B lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
1.05 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
5.62 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
902 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
4.34 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
125 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
587 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.39 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
12.11 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
6.86 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
9.91 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
1.19 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
10.17 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
3.84 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
2.65 KB lrw-rw-rw- 2025-09-17 06:52:56
Edit Download
5.97 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
4.72 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
437 B lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
25.79 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download
2.43 KB lrw-rw-rw- 2025-09-17 06:52:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).