Skip to content

Commit 0a350a2

Browse files
committed
fix: remove redundant workflow.IsReplaying checks
1 parent 0cabbec commit 0a350a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interceptor/tracing_interceptor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ func (t *tracingWorkflowInboundInterceptor) HandleQuery(
530530
in *HandleQueryInput,
531531
) (any, error) {
532532
// Only add tracing if enabled and not replaying
533-
if t.root.options.DisableQueryTracing || workflow.IsReplaying(ctx) {
533+
if t.root.options.DisableQueryTracing {
534534
return t.Next.HandleQuery(ctx, in)
535535
}
536536
// Start span reading from header

0 commit comments

Comments
 (0)