summaryrefslogtreecommitdiff
path: root/tests/slow-pid.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/slow-pid.php')
-rw-r--r--tests/slow-pid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/slow-pid.php b/tests/slow-pid.php
index 747e7e86..3660cb40 100644
--- a/tests/slow-pid.php
+++ b/tests/slow-pid.php
@@ -8,7 +8,7 @@
$rr = new RoadRunner\Worker($relay);
- while ($in = $rr->receive($ctx)) {
+ while ($in = $rr->waitPayload()) {
try {
sleep(1);
$rr->send((string)getmypid());