Skip to content

Commit

Permalink
docs(pubsub): MinExtensionPeriod defaults to 60 seconds (#10791)
Browse files Browse the repository at this point in the history
* defaults to 60

* update comment to clarify it is disabled

---------

Co-authored-by: Alex Hong <[email protected]>
  • Loading branch information
azurda and hongalex authored Nov 12, 2024
1 parent 81413f3 commit cc88fe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pubsub/subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc88fe1

Please sign in to comment.