From ebd79fb6d0dbeacb5dc9d566445ad6e0c8d96cb9 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Mon, 11 Nov 2019 20:06:55 +0100 Subject: [PATCH] Remove delays intended to testing HTTP/2 pings --- examples/basic/6-customization.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/basic/6-customization.php b/examples/basic/6-customization.php index 686dd25b..e4d1b610 100644 --- a/examples/basic/6-customization.php +++ b/examples/basic/6-customization.php @@ -29,12 +29,6 @@ dumpResponseTrace($response); dumpResponseBodyPreview(yield $response->getBody()->buffer()); - - print 'Waiting ' . ($i * 65) . ' seconds...' . "\r\n"; - - if ($i !== 5) { - yield delay($i * 65 * 1000); - } } } catch (HttpException $error) { // If something goes wrong Amp will throw the exception where the promise was yielded.