mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Remove auto-promotion of direct get. Force stream config to set AllowDirect to true.
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -3294,6 +3294,7 @@ func TestJetStreamSuperClusterMirrorInheritsAllowDirect(t *testing.T) {
|
||||
Subjects: []string{"key.*"},
|
||||
Placement: &nats.Placement{Tags: []string{"cloud:aws", "country:us"}},
|
||||
MaxMsgsPerSubject: 1,
|
||||
AllowDirect: true,
|
||||
})
|
||||
require_NoError(t, err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user