diff options
author | Wolfy-J <[email protected]> | 2018-06-22 13:09:22 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-22 13:09:22 +0300 |
commit | 28df8721e0804b69372654b1f4e777606847c759 (patch) | |
tree | 587221bfe34895de252a43aacc568d4667522ef9 | |
parent | 82ac7d691bc9e6720c3e61eeb9683e2a4701aafb (diff) | |
parent | aefd3dc833f6a4867dd1885b070b2152e64b1caa (diff) |
Merge remote-tracking branch 'origin/master'
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | README.md | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 407d097a..8a4eb922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ CHANGELOG ========= -v1.0.2 (20.06.2018) +v1.0.2 (19.06.2018) ------- - more validations for user configs @@ -82,7 +82,7 @@ http: # http worker pool configuration. workers: # php worker command. - command: "php psr-worker.php pipes" + command: "php psr-worker.php" # connection method (pipes, tcp://:9000, unix://socket.unix). relay: "pipes" @@ -118,7 +118,8 @@ static: Where `psr-worker.php`: ```php -$psr7 = new RoadRunner\PSR7Client(new RoadRunner\Worker($relay)); +$relay = new Spiral\Goridge\StreamRelay(STDIN, STDOUT); +$psr7 = new Spiral\RoadRunner\PSR7Client(new Spiral\RoadRunner\Worker($relay)); while ($req = $psr7->acceptRequest()) { try { |