Skip to content

Commit 67461df

Browse files
committed
add to changelog
1 parent 82b0d38 commit 67461df

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/remote-feature-flag-controller/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- Bump `@metamask/base-controller` from `^8.4.1` to `^8.4.2` ([#6917](https://github.com/MetaMask/core/pull/6917))
13+
- Fix exponential backoff strategy in `ClientConfigApiService` to use proper Cockatiel `ExponentialBackoff` implementation
14+
- Replace custom `ExponentialMinuteBackoff` class with `createMinuteBasedExponentialBackoff()` function that configures Cockatiel's `ExponentialBackoff` with minute-based intervals
15+
- Ensures retry mechanism correctly implements the specified timing progression: 1st retry after 1 minute, 2nd retry after 2 minutes, 3rd retry after 4 minutes
1316

1417
## [1.9.0]
1518

packages/remote-feature-flag-controller/src/client-config-api-service/client-config-api-service.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe('ClientConfigApiService', () => {
191191
// Check that fetch was retried the correct number of times
192192
expect(mockFetch).toHaveBeenCalledTimes(maxRetries + 1); // Initial + retries
193193
});
194-
194+
195195
it('should call the onBreak callback when the circuit opens', async () => {
196196
const onBreak = jest.fn();
197197
const mockFetch = createMockFetch({ error: networkError });

0 commit comments

Comments
 (0)