fix: remove wide jetstream dedup window. Now reduced to 1 minute.

* closes #39
This commit is contained in:
2024-10-04 11:54:10 +03:00
parent 1c7c53a12f
commit 55159196f4
2 changed files with 1 additions and 3 deletions

View File

@@ -83,7 +83,6 @@ func main() {
jetStreamPub, err := pub.NewJetStreamPub(pub.JetStreamOpts{
Endpoint: ko.MustString("jetstream.endpoint"),
PersistDuration: time.Duration(ko.MustInt("jetstream.persist_duration_hrs")) * time.Hour,
DedupDuration: time.Duration(ko.MustInt("jetstream.dedup_duration_hrs")) * time.Hour,
Logg: lo,
})
if err != nil {