Skip to content

Commit

Permalink
Merge pull request #193 from woodongwong/master
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus authored Oct 11, 2021
2 parents 2279162 + 16ab807 commit babade6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/FunctionResolveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ public function shouldSupportVeryDeepNestedPromises()
{
$deferreds = [];

for ($i = 0; $i < 250; $i++) {
for ($i = 0; $i < 150; $i++) {
$deferreds[] = $d = new Deferred();
$p = $d->promise();

$last = $p;
for ($j = 0; $j < 250; $j++) {
for ($j = 0; $j < 150; $j++) {
$last = $last->then(function ($result) {
return $result;
});
Expand Down

0 comments on commit babade6

Please sign in to comment.