Skip to content

Commit 5446d82

Browse files
committed
fix: One off tests
1 parent 43940d7 commit 5446d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apm/src/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class SpanRecorder {
2626
* start_timestamp).
2727
*/
2828
public add(span: SpanClass): void {
29-
if (this.spans.length >= this._maxlen) {
29+
if (this.spans.length > this._maxlen) {
3030
span.spanRecorder = undefined;
3131
} else {
3232
this.spans.push(span);

0 commit comments

Comments
 (0)