From 8403312b6c83fc6409b9fac310bddb4f19a6ea10 Mon Sep 17 00:00:00 2001 From: Marc-Eric Martel Date: Thu, 26 Oct 2023 13:27:22 -0400 Subject: [PATCH] saint ciboire --- global_bck_job/lib/global_bck_job/application.ex | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/global_bck_job/lib/global_bck_job/application.ex b/global_bck_job/lib/global_bck_job/application.ex index 7c6f629..eca208a 100644 --- a/global_bck_job/lib/global_bck_job/application.ex +++ b/global_bck_job/lib/global_bck_job/application.ex @@ -24,16 +24,10 @@ defmodule GlobalBackgroundJob.Application do defp topologies do [ background_job: [ - strategy: Cluster.Strategy.Gossip, + strategy: Cluster.Strategy.Epmd, config: [ - # port: 45892, - if_addr: "0.0.0.0", -# multicast_if: "10.13.4.143", #addr locale - # multicast_addr: "255.255.255.255", - # multicast_ttl: 1, - secret: "secret" - # broadcast_only: true - ] + timeout: 30_000, +hosts: [:"n1@192.168.1.1", :"n2@192.168.1.2"] ] ]