Skip to content

Commit

Permalink
Merge pull request #1068 from nats-io/allow-direct
Browse files Browse the repository at this point in the history
Make explicit for server processing
  • Loading branch information
derekcollison committed Sep 5, 2022
2 parents 84e2c74 + bf8b693 commit 08c04fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsm.go
Expand Up @@ -119,9 +119,9 @@ type StreamConfig struct {
RePublish *RePublish `json:"republish,omitempty"`

// Allow higher performance, direct access to get individual messages. E.g. KeyValue
AllowDirect bool `json:"allow_direct,omitempty"`
AllowDirect bool `json:"allow_direct"`
// Allow higher performance and unified direct access for mirrors as well.
MirrorDirect bool `json:"mirror_direct,omitempty"`
MirrorDirect bool `json:"mirror_direct"`
}

// RePublish is for republishing messages once committed to a stream. The original
Expand Down

0 comments on commit 08c04fd

Please sign in to comment.