summaryrefslogtreecommitdiff
path: root/tests/stop.php
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-12-14 13:27:35 +0300
committerWolfy-J <[email protected]>2020-12-14 13:27:35 +0300
commit00b42663891713f142a6cc67bcccdc31353daeb2 (patch)
tree1c3966f18c15f3815e47cb065917b314be23472c /tests/stop.php
parent8203dc4d76624f4fceddff49b8a1aba9d525fc73 (diff)
- removed old RoadRunner code
- added new RR source code
Diffstat (limited to 'tests/stop.php')
-rw-r--r--tests/stop.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stop.php b/tests/stop.php
index 0100ad0f..f83d3f29 100644
--- a/tests/stop.php
+++ b/tests/stop.php
@@ -9,7 +9,7 @@ use Spiral\RoadRunner;
$rr = new RoadRunner\Worker($relay);
$used = false;
-while ($in = $rr->receive($ctx)) {
+while ($in = $rr->waitPayload()) {
try {
if ($used) {
// kill on second attempt