File tree 2 files changed +0
-8
lines changed
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ import (
28
28
var (
29
29
// TXTErrIgnore is set if TXT errors should be ignored ("GRPC_GO_IGNORE_TXT_ERRORS" is not "false").
30
30
TXTErrIgnore = boolFromEnv ("GRPC_GO_IGNORE_TXT_ERRORS" , true )
31
- // AdvertiseCompressors is set if registered compressor should be advertised
32
- // ("GRPC_GO_ADVERTISE_COMPRESSORS" is not "false").
33
- AdvertiseCompressors = boolFromEnv ("GRPC_GO_ADVERTISE_COMPRESSORS" , true )
34
31
// RingHashCap indicates the maximum ring size which defaults to 4096
35
32
// entries but may be overridden by setting the environment variable
36
33
// "GRPC_RING_HASH_CAP". This does not override the default bounds
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ package grpcutil
20
20
21
21
import (
22
22
"strings"
23
-
24
- "google.golang.org/grpc/internal/envconfig"
25
23
)
26
24
27
25
// RegisteredCompressorNames holds names of the registered compressors.
@@ -40,8 +38,5 @@ func IsCompressorNameRegistered(name string) bool {
40
38
// RegisteredCompressors returns a string of registered compressor names
41
39
// separated by comma.
42
40
func RegisteredCompressors () string {
43
- if ! envconfig .AdvertiseCompressors {
44
- return ""
45
- }
46
41
return strings .Join (RegisteredCompressorNames , "," )
47
42
}
You can’t perform that action at this time.
0 commit comments