We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42f1c45 commit e37ebc8Copy full SHA for e37ebc8
pkg/amqp10/consumer.go
@@ -73,9 +73,10 @@ func (c *Amqp10Consumer) Connect() {
73
c.whichUri++
74
hostname, vhost := hostAndVHost(uri)
75
conn, err := amqp.Dial(c.ctx, uri, &amqp.ConnOptions{
76
- ContainerID: utils.InjectId(c.Config.ConsumerId, c.Id),
77
- SASLType: amqp.SASLTypeAnonymous(),
78
- HostName: vhost,
+ ContainerID: utils.InjectId(c.Config.ConsumerId, c.Id),
+ SASLType: amqp.SASLTypeAnonymous(),
+ HostName: vhost,
79
+ WriteQueueDepth: 10,
80
TLSConfig: &tls.Config{
81
ServerName: hostname,
82
},
0 commit comments