Skip to content

Commit

Permalink
rabbitmq queue tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Feb 10, 2025
1 parent fa245e6 commit 343cefc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.1-rc41] - 2025-02-10

### Changed

- Few rabbitmq tweaks

## [3.3.1-rc40] - 2025-02-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1-rc40
3.3.1-rc41
2 changes: 1 addition & 1 deletion mythic-docker/src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.1-rc340
3.3.1-rc41
5 changes: 2 additions & 3 deletions mythic-docker/src/rabbitmq/utils_rabbitmq_routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func (r *rabbitMQConnection) GetConnection() (*amqp.Connection, error) {
Dial: func(network, addr string) (net.Conn, error) {
return net.DialTimeout(network, addr, 10*time.Second)
},
Heartbeat: 10 * time.Second, // Add heartbeat
},
)
if err != nil {
Expand Down Expand Up @@ -488,8 +487,8 @@ func (r *rabbitMQConnection) ReceiveFromRPCQueue(exchange string, queue string,
}
q, err := ch.QueueDeclare(
queue, // name, queue
true, // durable
false, // delete when unused
false, // durable
true, // delete when unused
exclusiveQueue, // exclusive
false, // no-wait
nil,
Expand Down

0 comments on commit 343cefc

Please sign in to comment.