From 196657ce7cf9261eb18830de73561f15fd88a1e6 Mon Sep 17 00:00:00 2001 From: Simone Cottini Date: Mon, 11 Dec 2023 09:50:42 +0100 Subject: [PATCH] Format gha config file --- config/gha.exs | 96 +++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/config/gha.exs b/config/gha.exs index 509a0cf..b5348b2 100644 --- a/config/gha.exs +++ b/config/gha.exs @@ -1,62 +1,62 @@ use Mix.Config config :logger, :console, - format: "[$level] $message $metadata\n", - metadata: [:error, :error_message] + format: "[$level] $message $metadata\n", + metadata: [:error, :error_message] config :logger, level: :error config :amqpx, - amqp_connection: [ - username: "amqpx", - password: "amqpx", - host: "rabbit", - virtual_host: "/", - port: 5672, - heartbeat: 30, - connection_timeout: 10_000, - obfuscate_password: false - ] + amqp_connection: [ + username: "amqpx", + password: "amqpx", + host: "rabbit", + virtual_host: "/", + port: 5672, + heartbeat: 30, + connection_timeout: 10_000, + obfuscate_password: false + ] config :amqpx, - amqp_connection_two: [ - name: ConnectionTwo, - username: "amqpx", - password: "amqpx", - host: "rabbit_two", - virtual_host: "/two", - port: 5673, - heartbeat: 30, - connection_timeout: 10_000, - obfuscate_password: false - ] + amqp_connection_two: [ + name: ConnectionTwo, + username: "amqpx", + password: "amqpx", + host: "rabbit_two", + virtual_host: "/two", + port: 5673, + heartbeat: 30, + connection_timeout: 10_000, + obfuscate_password: false + ] config :amqpx, - consumers: [ - %{ - handler_module: Amqpx.Test.Support.Consumer1 - }, - %{ - handler_module: Amqpx.Test.Support.Consumer2 - }, - %{ - handler_module: Amqpx.Test.Support.Consumer3, - backoff: 10_000 - }, - %{ - handler_module: Amqpx.Test.Support.HandleRejectionConsumer, - backoff: 10 - }, - %{ - handler_module: Amqpx.Test.Support.NoRequeueConsumer, - backoff: 10, - requeue_on_reject: false - }, - %{ - handler_module: Amqpx.Test.Support.ConsumerConnectionTwo, - connection_name: ConnectionTwo - } - ] + consumers: [ + %{ + handler_module: Amqpx.Test.Support.Consumer1 + }, + %{ + handler_module: Amqpx.Test.Support.Consumer2 + }, + %{ + handler_module: Amqpx.Test.Support.Consumer3, + backoff: 10_000 + }, + %{ + handler_module: Amqpx.Test.Support.HandleRejectionConsumer, + backoff: 10 + }, + %{ + handler_module: Amqpx.Test.Support.NoRequeueConsumer, + backoff: 10, + requeue_on_reject: false + }, + %{ + handler_module: Amqpx.Test.Support.ConsumerConnectionTwo, + connection_name: ConnectionTwo + } + ] config :amqpx, Amqpx.Test.Support.Consumer1, %{ queue: "test1",