Skip to content

Commit 1538b0d

Browse files
committed
.
1 parent f76bca2 commit 1538b0d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/core/src/attributes.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ export function estimateTypedAttributesSizeInBytes(attributes: Attributes | unde
135135
return 0;
136136
}
137137
let weight = 0;
138-
const fallbackWeight = 100;
139138

140139
for (const [key, attr] of Object.entries(attributes)) {
141140
weight += key.length * 2;
@@ -151,7 +150,7 @@ export function estimateTypedAttributesSizeInBytes(attributes: Attributes | unde
151150
weight += estimatePrimitiveSizeInBytes(val);
152151
} else {
153152
// default fallback for anything else (objects)
154-
weight += fallbackWeight;
153+
weight += 100;
155154
}
156155
}
157156
return weight;

0 commit comments

Comments
 (0)