Skip to content

Commit

Permalink
rm prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Dec 15, 2024
1 parent 3261f40 commit 9bcc190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stomp.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func RecvAndProcessMessage(queueName string, middleware scyllaridae.QueueMiddlew
slog.Error("Problem disconnecting from STOMP server", "err", err)
}
}()
sub, err := conn.Subscribe(queueName, stomp.AckClient, stomp.SubscribeOpt.Prefetch(1))
sub, err := conn.Subscribe(queueName, stomp.AckClient)
if err != nil {
slog.Error("Cannot subscribe to queue", "queue", queueName, "err", err.Error())
return err
Expand Down

0 comments on commit 9bcc190

Please sign in to comment.