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 cf93c9e commit b44c390Copy full SHA for b44c390
packages/utils/src/ratelimit.ts
@@ -85,7 +85,7 @@ export function updateRateLimits(
85
} else {
86
for (const category of categories.split(';')) {
87
if (category === 'metric_bucket') {
88
- const namespaces = limit.split(':', 5)[4] ? limit.split(':', 5)[4].split(';') : [];
+ const namespaces = limit.split(':', 5)[4] ? limit.split(':', 5)[4].split(';') : null;
89
90
if (!namespaces || namespaces.includes('custom')) {
91
// back off transmitting metrics from the SDK
0 commit comments