diff options
Diffstat (limited to 'tests/pid.php')
-rw-r--r-- | tests/pid.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/pid.php b/tests/pid.php deleted file mode 100644 index 962b609a..00000000 --- a/tests/pid.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - /** - * @var Goridge\RelayInterface $relay - */ - - use Spiral\Goridge; - use Spiral\RoadRunner; - - $rr = new RoadRunner\Worker($relay); - - while ($in = $rr->waitPayload()) { - try { - $rr->respond(new RoadRunner\Payload((string)getmypid())); - } catch (\Throwable $e) { - $rr->error((string)$e); - } - } |