summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-22 13:09:22 +0300
committerWolfy-J <[email protected]>2018-06-22 13:09:22 +0300
commit28df8721e0804b69372654b1f4e777606847c759 (patch)
tree587221bfe34895de252a43aacc568d4667522ef9
parent82ac7d691bc9e6720c3e61eeb9683e2a4701aafb (diff)
parentaefd3dc833f6a4867dd1885b070b2152e64b1caa (diff)
Merge remote-tracking branch 'origin/master'
-rw-r--r--CHANGELOG.md2
-rw-r--r--README.md5
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
diff --git a/README.md b/README.md
index 76aeab0c..74a2d24c 100644
--- a/README.md
+++ b/README.md
@@ -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 {