Skip to content

Commit

Permalink
[IMPROVED] Fix MaxAckPending default value comment unit typo (#1639)
Browse files Browse the repository at this point in the history
  • Loading branch information
agcom authored and piotrpio committed Aug 15, 2024
1 parent a612573 commit 0f4713d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jetstream/consumer_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ type (

// MaxAckPending is a maximum number of outstanding unacknowledged
// messages. Once this limit is reached, the server will suspend sending
// messages to the consumer. If not set, server default is 1000
// seconds. Set to -1 for unlimited.
// messages to the consumer. If not set, server default is 1000.
// Set to -1 for unlimited.
MaxAckPending int `json:"max_ack_pending,omitempty"`

// HeadersOnly indicates whether only headers of messages should be sent
Expand Down

0 comments on commit 0f4713d

Please sign in to comment.