Skip to content

Commit f636c8d

Browse files
committed
fix #5574 by removing gRPC size limits
1 parent 092a725 commit f636c8d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

monitoring/google/cloud/monitoring_v3/gapic/transports/metric_service_grpc_transport.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ def __init__(self,
6363
channel = self.create_channel(
6464
address=address,
6565
credentials=credentials,
66+
options={
67+
'grpc.max_send_message_length': -1,
68+
'grpc.max_receive_message_length': -1,
69+
}.items(),
6670
)
6771

6872
# gRPC uses objects called "stubs" that are bound to the

0 commit comments

Comments
 (0)