From bf8b693aff96acb35ff8694412868fa747ea0473 Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Mon, 5 Sep 2022 10:53:52 -0700 Subject: [PATCH] Make explicit for server processing Signed-off-by: Derek Collison --- jsm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsm.go b/jsm.go index a5ebc9b09..b3bed6688 100644 --- a/jsm.go +++ b/jsm.go @@ -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