Skip to content

Commit 0ddf451

Browse files
author
Tyler King
committed
Changelog addition for v10.0.4
1 parent b25dcb6 commit 0ddf451

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 10.0.4
4+
5+
* Bugfix to rate limiter (#120)
6+
37
## 10.0.3
48

59
* Moved `final` flag to the constructor

test/Middleware/RateLimitingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function testRestSleep(): void
3939
'made' => 1,
4040
'limit' => 40,
4141
'time' => $firstTime,
42-
]
42+
],
4343
], $api->getSession());
4444

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

8383
// Even though two requests happened within 1 second window,

0 commit comments

Comments
 (0)