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 9bcc190 commit 15ab343
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 @@ -56,7 +56,7 @@ func runStompSubscribers(config *scyllaridae.ServerConfig) {
func RecvAndProcessMessage(queueName string, middleware scyllaridae.QueueMiddleware) error {
addr := os.Getenv("STOMP_SERVER_ADDR")
if addr == "" {
addr = "activemq:61613?activemq.prefetchSize=1"
addr = "activemq:61613"
}

c, err := net.Dial("tcp", addr)
Expand Down

0 comments on commit 15ab343

Please sign in to comment.