Skip to content

Commit 95435f2

Browse files
mar-cfdanlapid
andcommitted
Log warning periodically
Co-authored-by: Dan Lapid <[email protected]>
1 parent f5ae093 commit 95435f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workerd/io/tracer.c++

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ void BaseTracer::adjustSpanTime(tracing::CompleteSpan& span) {
411411
KJ_FAIL_ASSERT(
412412
"reported span without current request", span.operationName, hasCompleteTime);
413413
} else {
414-
KJ_LOG(WARNING, "reported span without current request", span.operationName,
415-
hasCompleteTime);
414+
LOG_WARNING_PERIODICALLY(
415+
"reported span without current request", span.operationName, hasCompleteTime);
416416
}
417417
}
418418
});

0 commit comments

Comments
 (0)