]> Entropealabs - wampex_client.git/commitdiff
one_for_one
authorChristopher Coté <ccote@cohesionib.com>
Wed, 27 Jan 2021 21:36:27 +0000 (15:36 -0600)
committerChristopher Coté <ccote@cohesionib.com>
Wed, 27 Jan 2021 21:36:27 +0000 (15:36 -0600)
lib/client.ex

index 9255846cdb62991deafa5763b0f9bba222c9a413..5e08eb1f8a99502a2f48cdb86ed8bf03c085c0fb 100644 (file)
@@ -49,7 +49,7 @@ defmodule Wampex.Client do
        reconnect: reconnect}
     ]
 
-    Supervisor.init(children, strategy: :one_for_all, max_restarts: 10)
+    Supervisor.init(children, strategy: :one_for_one)
   end
 
   @spec session_name(module()) :: module()