Property | Type | Description | |
---|---|---|---|
$delay | integer | The number of seconds before a released job will be available. | |
$force | boolean | Indicates if the worker should run in maintenance mode. | |
$maxTries | integer | The maximum amount of times a job may be attempted. | |
$memory | integer | The maximum amount of RAM the worker may consume. | |
$sleep | integer | The number of seconds to wait in between polling the queue. | |
$timeout | integer | The maximum number of seconds a child worker may run. |
Method | Description | |
---|---|---|
__construct ( integer $delay, integer $memory = 128, integer $timeout = 60, integer $sleep = 3, integer $maxTries, boolean $force = false ) | Create a new worker options instance. |
public int $delay | ||
return | integer |
public bool $force | ||
return | boolean |
public int $maxTries | ||
return | integer |
public int $memory | ||
return | integer |
public int $sleep | ||
return | integer |
public int $timeout | ||
return | integer |