From 5182cddbeb4df9913796bfa828f3c672e1688266 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christopher=20Cot=C3=A9?= Date: Wed, 27 Jan 2021 15:36:27 -0600 Subject: [PATCH] one_for_one --- lib/client.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.ex b/lib/client.ex index 9255846..5e08eb1 100644 --- a/lib/client.ex +++ b/lib/client.ex @@ -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() -- 2.45.3