Skip to content

Commit

Permalink
Remove stream creation
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Sep 12, 2023
1 parent 7a297f1 commit 7c7aea4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/services/nats_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ func NewNATSService(settings *config.Settings, log *zerolog.Logger) (*NATSServic
return nil, err
}

_, err = js.AddStream(&nats.StreamConfig{
Name: settings.NATSStreamName,
Retention: nats.WorkQueuePolicy,
Subjects: []string{settings.NATSValuationSubject},
})

if err != nil {
return nil, err
}

to, err := time.ParseDuration(settings.NATSAckTimeout)
if err != nil {
return nil, err
Expand Down

0 comments on commit 7c7aea4

Please sign in to comment.