diff options
author | Valery Piashchynski <[email protected]> | 2022-01-15 12:08:20 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-01-15 12:08:20 +0300 |
commit | 5254c8eb27311e2a8a53a4c90c3829cf1238c563 (patch) | |
tree | b51c9a4c1dd4c25adc511498ce0380a7078c5572 /tests/slow-pid.php | |
parent | 13609dd03dd0d2fa85b9fb850be787bf4e2ea67f (diff) |
Repository content update
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/slow-pid.php')
-rw-r--r-- | tests/slow-pid.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/slow-pid.php b/tests/slow-pid.php deleted file mode 100644 index 82785610..00000000 --- a/tests/slow-pid.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - /** - * @var Goridge\RelayInterface $relay - */ - - use Spiral\Goridge; - use Spiral\RoadRunner; - - $rr = new RoadRunner\Worker($relay); - - while ($in = $rr->waitPayload()) { - try { - sleep(1); - $rr->respond(new RoadRunner\Payload((string)getmypid())); - } catch (\Throwable $e) { - $rr->error((string)$e); - } - } |