Change rettention policy
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-03-01 13:39:02 -05:00
parent b197791509
commit 83e257a4d5

View File

@@ -144,7 +144,7 @@ func serve(ctx *cli.Context) error {
_, err = js.AddStream(&nats.StreamConfig{ _, err = js.AddStream(&nats.StreamConfig{
Name: "maptest", Name: "maptest",
Subjects: []string{"maptest.>"}, Subjects: []string{"maptest.>"},
Retention: nats.WorkQueuePolicy, Retention: nats.InterestPolicy,
}) })
if err != nil { if err != nil {
log.WithError(err).Fatal("failed to add stream") log.WithError(err).Fatal("failed to add stream")