Skip to content

Commit

Permalink
Remove delays intended to testing HTTP/2 pings
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Nov 11, 2019
1 parent b674b7d commit ebd79fb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/basic/6-customization.php
Expand Up @@ -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.
Expand Down

0 comments on commit ebd79fb

Please sign in to comment.