mirror of https://github.com/grpc/grpc-go.git
close trace
This commit is contained in:
parent
744f83a567
commit
04b604054f
|
|
@ -47,6 +47,8 @@ import (
|
||||||
"google.golang.org/grpc/grpclog"
|
"google.golang.org/grpc/grpclog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var EnableTracing = false
|
||||||
|
|
||||||
func newPayload(t testpb.PayloadType, size int) *testpb.Payload {
|
func newPayload(t testpb.PayloadType, size int) *testpb.Payload {
|
||||||
if size < 0 {
|
if size < 0 {
|
||||||
grpclog.Fatalf("Requested a response with invalid length %d", size)
|
grpclog.Fatalf("Requested a response with invalid length %d", size)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue