Visitar URL original
docs(samples): Increase example max_bytes setting for cloud storage s… · googleapis/google-cloud-python@337f2d6 · GitHub
Skip to content

Commit 337f2d6

Browse files
authored
docs(samples): Increase example max_bytes setting for cloud storage subscriptions to encourage more performant subscribe (#1324)
1 parent 05f1b2f commit 337f2d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/google-cloud-pubsub/samples/snippets/subscriber.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def create_cloudstorage_subscription(
557557
# Min 1 minutes, max 10 minutes
558558
max_duration=max_duration,
559559
# Min 1 KB, max 10 GiB
560-
max_bytes=2000,
560+
max_bytes=10000000,
561561
)
562562

563563
# Wrap the subscriber in a 'with' block to automatically call close() to

0 commit comments

Comments
 (0)