Skip to content

Commit

Permalink
Format gha config file
Browse files Browse the repository at this point in the history
  • Loading branch information
cottinisimone committed Dec 11, 2023
1 parent a3b112f commit 196657c
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions config/gha.exs
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
use Mix.Config

Check warning on line 1 in config/gha.exs

View workflow job for this annotation

GitHub Actions / ci

use Mix.Config is deprecated. Use the Config module instead

Check warning on line 1 in config/gha.exs

View workflow job for this annotation

GitHub Actions / ci

use Mix.Config is deprecated. Use the Config module instead

Check warning on line 1 in config/gha.exs

View workflow job for this annotation

GitHub Actions / ci

use Mix.Config is deprecated. Use the Config module instead

Check warning on line 1 in config/gha.exs

View workflow job for this annotation

GitHub Actions / ci

use Mix.Config is deprecated. Use the Config module instead

Check warning on line 1 in config/gha.exs

View workflow job for this annotation

GitHub Actions / ci

use Mix.Config is deprecated. Use the Config module instead

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",
Expand Down

0 comments on commit 196657c

Please sign in to comment.