More config. This is getting tiresome
This commit is contained in:
parent
ce27bfc871
commit
0ad97a374a
@ -23,12 +23,4 @@ config :chessh, Web,
|
|||||||
|
|
||||||
config :joken, default_signer: "secret"
|
config :joken, default_signer: "secret"
|
||||||
|
|
||||||
config :libcluster,
|
|
||||||
topologies: [
|
|
||||||
erlang_hosts_example: [
|
|
||||||
strategy: Elixir.Cluster.Strategy.ErlangHosts,
|
|
||||||
config: [timeout: 30_000]
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
import_config "#{config_env()}.exs"
|
import_config "#{config_env()}.exs"
|
||||||
|
@ -12,3 +12,11 @@ config :hammer,
|
|||||||
{Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]},
|
{Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]},
|
||||||
redis: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
|
redis: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
config :libcluster,
|
||||||
|
topologies: [
|
||||||
|
chessh_dev: [
|
||||||
|
strategy: Elixir.Cluster.Strategy.ErlangHosts,
|
||||||
|
config: [timeout: 30_000]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
@ -20,7 +20,7 @@ config :libcluster,
|
|||||||
if_addr: "0.0.0.0",
|
if_addr: "0.0.0.0",
|
||||||
multicast_if: "192.168.1.1",
|
multicast_if: "192.168.1.1",
|
||||||
multicast_addr: "233.252.255.255",
|
multicast_addr: "233.252.255.255",
|
||||||
multicast_ttl: 1,
|
multicast_ttl: 1
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
@ -18,6 +18,14 @@ config :hammer,
|
|||||||
redis: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
|
redis: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
config :libcluster,
|
||||||
|
topologies: [
|
||||||
|
chessh_test: [
|
||||||
|
strategy: Elixir.Cluster.Strategy.Epmd
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
config :chessh,
|
config :chessh,
|
||||||
ssh_port: 34_355,
|
ssh_port: 42_069,
|
||||||
key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")
|
key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")
|
||||||
|
Loading…
Reference in New Issue
Block a user