From 8504516e5e00ce5ce30c99c04d78ed7ac23d5d5c Mon Sep 17 00:00:00 2001 From: Viktor Erlingsson Date: Mon, 12 Feb 2024 11:06:23 +0100 Subject: [PATCH] use simply shovel as consumer tag for shovels --- src/lavinmq/shovel/shovel.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lavinmq/shovel/shovel.cr b/src/lavinmq/shovel/shovel.cr index 1810e4b77f..b02a9f2f6a 100644 --- a/src/lavinmq/shovel/shovel.cr +++ b/src/lavinmq/shovel/shovel.cr @@ -44,7 +44,7 @@ module LavinMQ @delete_after = DEFAULT_DELETE_AFTER, @prefetch = DEFAULT_PREFETCH, @ack_mode = DEFAULT_ACK_MODE, consumer_args : Hash(String, JSON::Any)? = nil, direct_user : User? = nil) - @tag = "Shovel-#{Random::Secure.urlsafe_base64(24)}" + @tag = "Shovel" cfg = Config.instance @uri.host ||= "#{cfg.amqp_bind}:#{cfg.amqp_port}" unless @uri.user