-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07a9402
commit a82a25f
Showing
4 changed files
with
109 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
namespace Illuminate\Queue; | ||
|
||
class ListenerOptions extends WorkerOptions | ||
{ | ||
/** | ||
* The environment the worker should run in. | ||
* | ||
* @var string | ||
*/ | ||
public $environment; | ||
|
||
/** | ||
* Create a new listener options instance. | ||
* | ||
* @param string $environment | ||
* @param int $delay | ||
* @param int $memory | ||
* @param int $timeout | ||
* @param int $sleep | ||
* @param int $maxTries | ||
* @param bool $force | ||
*/ | ||
public function __construct($environment = null, $delay = 0, $memory = 128, $timeout = 60, $sleep = 3, $maxTries = 0, $force = false) | ||
{ | ||
$this->environment = $environment; | ||
|
||
parent::__construct($delay, $memory, $timeout, $sleep, $maxTries, $force); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters