Skip to content

Commit 11ef899

Browse files
authored
[FIXED] Invalid default in documentation for OrderedConsumerConfig.InactiveThreshold (#1845)
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
1 parent 495ec60 commit 11ef899

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jetstream/consumer_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ type (
263263

264264
// InactiveThreshold is a duration which instructs the server to clean
265265
// up the consumer if it has been inactive for the specified duration.
266-
// Defaults to 5s.
266+
// Defaults to 5m.
267267
InactiveThreshold time.Duration `json:"inactive_threshold,omitempty"`
268268

269269
// HeadersOnly indicates whether only headers of messages should be sent

0 commit comments

Comments
 (0)