Skip to content

Commit bf03fb6

Browse files
author
Beatriz Rizental
authored
Merge pull request #981 from brizental/1742371-change-rate-limit
Bug 1742371 - Update rate limit to allow 40pings/minute
2 parents ece1dd6 + 84a98f9 commit bf03fb6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[Full changelog](https://github.com/mozilla/glean.js/compare/v0.26.0...main)
44

5+
* [#981](https://github.com/mozilla/glean.js/pull/981): Update rate limits for ping submission from 15 pings/minute to 40 pings/minute.
56
* [#967](https://github.com/mozilla/glean.js/pull/967): **BREAKING CHANGE**: Remove `debug` option from Glean configuration option.
67
* The `Glean.setDebugViewTag`, `Glean.setSourceTags` and `Glean.setLogPings` should be used instead. Note that these APIs can safely be called prior to initialization.
78

glean/src/core/upload/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const LOG_TAG = "core.Upload";
2929
// Default rate limiter interval, in milliseconds.
3030
export const RATE_LIMITER_INTERVAL_MS = 60 * 1000;
3131
// Default max pings per internal.
32-
export const MAX_PINGS_PER_INTERVAL = 15;
32+
export const MAX_PINGS_PER_INTERVAL = 40;
3333

3434
/**
3535
* Create and initialize a dispatcher for the PingUplaoder.

0 commit comments

Comments
 (0)