summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 18:24:25 +0300
committerWolfy-J <[email protected]>2018-01-28 18:24:25 +0300
commit066e6b32bb7ea5d31f8b0f510584d03dad33626f (patch)
treee3e402b38ef9eb4dacf86feae71da81275d0929b
parent1e689bdd7a0c0cde85f47091afcee7f292c4cafd (diff)
minus one byte
-rw-r--r--pool.go2
-rw-r--r--source/Worker.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pool.go b/pool.go
index 415c695e..8dac6cf7 100644
--- a/pool.go
+++ b/pool.go
@@ -11,7 +11,7 @@ import (
const (
// StopRequest can be sent by worker to indicate that restart is required.
- StopRequest = "{\"stop\": true}"
+ StopRequest = "{\"stop\":true}"
)
// Pool controls worker creation, destruction and task routing.
diff --git a/source/Worker.php b/source/Worker.php
index 474101b4..5835baf2 100644
--- a/source/Worker.php
+++ b/source/Worker.php
@@ -24,7 +24,7 @@ use Spiral\RoadRunner\Exceptions\RoadRunnerException;
class Worker
{
// Send as response context to request worker termination
- const STOP = '{"stop": true}';
+ const STOP = '{"stop":true}';
/** @var Relay */
private $relay;