aboutsummaryrefslogtreecommitdiff
path: root/src/WorkerClient.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-02 21:31:08 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-02 21:31:08 +0300
commit1e2bf773af6b4f95497997638ea97c5b17382ddd (patch)
tree776b732e05282041560f4bf2fcde24f1ea5b1dfa /src/WorkerClient.php
parentde8477086a2c661b4cef9c351592145a4b9b3423 (diff)
MasterClient: support poll_workers argument of status() request
Diffstat (limited to 'src/WorkerClient.php')
-rw-r--r--src/WorkerClient.php4
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