We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 015547d commit 50c0cf9Copy full SHA for 50c0cf9
router/pkg/connectrpc/proto_loader.go
@@ -5,7 +5,6 @@ import (
5
"os"
6
"path/filepath"
7
"strings"
8
- "sync"
9
10
"github.com/jhump/protoreflect/desc"
11
"github.com/jhump/protoreflect/desc/protoparse"
@@ -14,11 +13,6 @@ import (
14
13
"google.golang.org/protobuf/reflect/protoregistry"
15
)
16
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
-
22
// ServiceDefinition represents a parsed protobuf service
23
type ServiceDefinition struct {
24
// FullName is the fully qualified service name (e.g., "mypackage.MyService")
0 commit comments