We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d58238 commit 945c6e5Copy full SHA for 945c6e5
packages/utils/src/ratelimit.ts
@@ -86,7 +86,7 @@ export function updateRateLimits(
86
} else {
87
for (const category of categories.split(';')) {
88
if (category === 'metric_bucket') {
89
- const namespaces = limit.split(':', 5)[4] ? limit.split(':', 5)[4].split(';') : [];
+ const namespaces = limit.split(':', 5)[4] ? limit.split(':', 5)[4].split(';') : null;
90
91
if (!namespaces || namespaces.includes('custom')) {
92
// back off transmitting metrics from the SDK
0 commit comments