Skip to content

Commit

Permalink
Set queue auto_delete to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Jami159 committed Dec 6, 2023
1 parent 7ddfed9 commit ddef8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimulationService.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function OperationRequest(req::HTTP.Request, route::String)
if haskey(params, "queue")
queue_name = params["queue"]
queue_dict[o.id] = queue_name
AMQPClient.queue_declare(rabbitmq_channel[], queue_name;)
AMQPClient.queue_declare(rabbitmq_channel[], queue_name; auto_delete=true)
end

for (k,v) in o.obj
Expand Down

0 comments on commit ddef8e5

Please sign in to comment.