We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28d6973 commit 73d184dCopy full SHA for 73d184d
1 file changed
pubsub/gcppubsub/gcppubsub.go
@@ -86,9 +86,9 @@ var sendBatcherOpts = &batcher.Options{
86
MaxHandlers: 2,
87
// The PubSub service limits the size of the request body in a single Publish RPC.
88
// The limit is currently documented as "10MB (total size)" and "10MB (data field)" per message.
89
- // We are enforcing 9MiB to give ourselves some headroom for message attributes since those
+ // We are enforcing 8MiB to give ourselves some headroom for message attributes since those
90
// are currently not considered when computing the byte size of a message.
91
- MaxBatchByteSize: 9 * 1024 * 1024,
+ MaxBatchByteSize: 8 * 1024 * 1024,
92
}
93
94
var defaultRecvBatcherOpts = &batcher.Options{
0 commit comments