diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-02 21:31:08 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-02 21:31:08 +0300 |
commit | 1e2bf773af6b4f95497997638ea97c5b17382ddd (patch) | |
tree | 776b732e05282041560f4bf2fcde24f1ea5b1dfa /src/WorkerClient.php | |
parent | de8477086a2c661b4cef9c351592145a4b9b3423 (diff) |
MasterClient: support poll_workers argument of status() request
Diffstat (limited to 'src/WorkerClient.php')
-rw-r--r-- | src/WorkerClient.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WorkerClient.php b/src/WorkerClient.php index 4e221df..dbf0f78 100644 --- a/src/WorkerClient.php +++ b/src/WorkerClient.php @@ -4,6 +4,10 @@ namespace jobd; class WorkerClient extends Client { + public function __construct(int $port = Client::WORKER_PORT, ...$args) { + parent::__construct($port, ...$args); + } + /** * @return ResponseMessage * @throws \Exception |