diff --git a/global_bck_job/lib/global_bck_job/application.ex b/global_bck_job/lib/global_bck_job/application.ex index 0052fb1..f612e34 100644 --- a/global_bck_job/lib/global_bck_job/application.ex +++ b/global_bck_job/lib/global_bck_job/application.ex @@ -24,13 +24,13 @@ defmodule GlobalBackgroundJob.Application do defp topologies do [ background_job: [ - strategy: Cluster.Strategy.Epmd, + strategy: Cluster.Strategy.Gossip, config: [ - timeout: 30_000, -hosts: [:"n1@192.168.1.1", :"n2@192.168.1.2"] - - ] -] ] + if_addr: "0.0.0.0", + secret: "secret" + ] + ] +] end end