Update main.go
All checks were successful
Build and Publish / Metadata (push) Successful in 11s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 1m2s
Build and Publish / BuildAndDeployArm64 (push) Successful in 5m12s

This commit is contained in:
matst80
2025-11-10 22:28:58 +01:00
parent 61457bce6b
commit 34e0445857

View File

@@ -103,6 +103,7 @@ func main() {
amqpUrl, ok := os.LookupEnv("RABBIT_HOST") amqpUrl, ok := os.LookupEnv("RABBIT_HOST")
if ok { if ok {
log.Printf("Connecting to rabbitmq")
conn, err := amqp.DialConfig(amqpUrl, amqp.Config{ conn, err := amqp.DialConfig(amqpUrl, amqp.Config{
Properties: amqp.NewConnectionProperties(), Properties: amqp.NewConnectionProperties(),
}) })