From cc88fe1c8d834903e2b5f8d3a7cc9bbd65c70b29 Mon Sep 17 00:00:00 2001 From: Fernando Urbano Date: Wed, 13 Nov 2024 04:48:28 +0900 Subject: [PATCH] docs(pubsub): MinExtensionPeriod defaults to 60 seconds (#10791) * defaults to 60 * update comment to clarify it is disabled --------- Co-authored-by: Alex Hong <9397363+hongalex@users.noreply.github.com> --- pubsub/subscription.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pubsub/subscription.go b/pubsub/subscription.go index 4527cc5704a0..797fd8585c04 100644 --- a/pubsub/subscription.go +++ b/pubsub/subscription.go @@ -899,8 +899,7 @@ type ReceiveSettings struct { // // MinExtensionPeriod must be between 10s and 600s (inclusive). This configuration // can be disabled by specifying a duration less than (or equal to) 0. - // Defaults to off but set to 60 seconds if the subscription has exactly-once delivery enabled, - // which will be added in a future release. + // Disabled by default but set to 60 seconds if the subscription has exactly-once delivery enabled. MinExtensionPeriod time.Duration // MaxOutstandingMessages is the maximum number of unprocessed messages