Skip to content

Commit

Permalink
Changelog addition for v10.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikyt committed Sep 3, 2021
1 parent b25dcb6 commit 0ddf451
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 10.0.4

* Bugfix to rate limiter (#120)

## 10.0.3

* Moved `final` flag to the constructor
Expand Down
4 changes: 2 additions & 2 deletions test/Middleware/RateLimitingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testRestSleep(): void
'made' => 1,
'limit' => 40,
'time' => $firstTime,
]
],
], $api->getSession());

// Given we have 2 previous calls within 1 second window, sleep should trigger
Expand Down Expand Up @@ -77,7 +77,7 @@ public function testRestNoSleep(): void
'made' => 1,
'limit' => 40,
'time' => $firstTime,
]
],
], $api->getSession());

// Even though two requests happened within 1 second window,
Expand Down

0 comments on commit 0ddf451

Please sign in to comment.