Skip to content

Commit 50c0cf9

Browse files
committed
linting
1 parent 015547d commit 50c0cf9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

router/pkg/connectrpc/proto_loader.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"os"
66
"path/filepath"
77
"strings"
8-
"sync"
98

109
"github.com/jhump/protoreflect/desc"
1110
"github.com/jhump/protoreflect/desc/protoparse"
@@ -14,11 +13,6 @@ import (
1413
"google.golang.org/protobuf/reflect/protoregistry"
1514
)
1615

17-
// globalRegistryMu protects concurrent access to protoregistry.GlobalFiles
18-
// This prevents race conditions when multiple ProtoLoader instances
19-
// (e.g., during reload) attempt to register the same file concurrently
20-
var globalRegistryMu sync.Mutex
21-
2216
// ServiceDefinition represents a parsed protobuf service
2317
type ServiceDefinition struct {
2418
// FullName is the fully qualified service name (e.g., "mypackage.MyService")

0 commit comments

Comments
 (0)