cleanup comments

This commit is contained in:
jonny rhea 2025-12-19 16:50:11 -06:00
parent 7b7ab1da54
commit 8254381bfd
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ type handler struct {
allowSubscribe bool
batchRequestLimit int
batchResponseMaxSize int
tracer trace.Tracer // for RPC call tracing
tracer trace.Tracer
subLock sync.Mutex
serverSubs map[ID]*Subscription
@ -79,7 +79,7 @@ type handler struct {
type callProc struct {
ctx context.Context
notifiers []*Notifier
isBatch bool // true if this call is part of a batch request
isBatch bool
}
func newHandler(connCtx context.Context, conn jsonWriter, idgen func() ID, reg *serviceRegistry, batchRequestLimit, batchResponseMaxSize int, tracer trace.Tracer) *handler {

View file

@ -193,7 +193,7 @@ func TestTracingBatchHTTP(t *testing.T) {
t.Fatalf("batch RPC call failed: %v", err)
}
// Flush and verify we emitted at least one rpc.call span with batch=true.
// Flush and verify we emitted the rpc.call spans with batch=true.
if err := tracer.ForceFlush(context.Background()); err != nil {
t.Fatalf("failed to flush: %v", err)
}