Skip to content

Commit

Permalink
Merge 30ecb5d into 00e1254
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovic committed Mar 6, 2022
2 parents 00e1254 + 30ecb5d commit 1f475ed
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js.go
Expand Up @@ -919,9 +919,6 @@ type ConsumerConfig struct {

// Ephemeral inactivity threshold.
InactiveThreshold time.Duration `json:"inactive_threshold,omitempty"`

// Internal Use
Direct bool `json:"direct,omitempty"`
}

// ConsumerInfo is the info from a JetStream consumer.
Expand Down Expand Up @@ -1323,7 +1320,6 @@ func (js *js) subscribe(subj, queue string, cb MsgHandler, ch chan *Msg, isSync,
o.cfg.AckPolicy = AckNonePolicy
o.cfg.MaxDeliver = 1
o.cfg.AckWait = 22 * time.Hour // Just set to something known, not utilized.
o.cfg.Direct = true
if !hasHeartbeats {
o.cfg.Heartbeat = orderedHeartbeatsInterval
}
Expand Down

0 comments on commit 1f475ed

Please sign in to comment.