diff options
author | Wolfy-J <[email protected]> | 2018-01-28 15:27:28 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-28 15:27:28 +0300 |
commit | 75fb6c2f358ee728147da5bcd9ba089ae3323cbb (patch) | |
tree | 31179cff2bb6a3beb340d6535a7154caaf38bf99 /source | |
parent | 664743a1d6b62277653c4e33324a9040b8dbfb4d (diff) |
head parsing for raw data
Diffstat (limited to 'source')
-rw-r--r-- | source/Worker.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Worker.php b/source/Worker.php index f9700f0c..8fdf3070 100644 --- a/source/Worker.php +++ b/source/Worker.php @@ -111,7 +111,7 @@ class Worker * * @throws GoridgeException */ - public function terminate() + public function stop() { $this->send(null, self::TERMINATE); } @@ -142,7 +142,9 @@ class Worker // PID negotiation (socket connections only) if (!empty($p['pid'])) { - $this->relay->send(sprintf('{"pid":%s}', getmypid()), Relay::PAYLOAD_CONTROL); + $this->relay->send( + sprintf('{"pid":%s}', getmypid()), Relay::PAYLOAD_CONTROL + ); } // termination request |