From a80cea749f3d0bd09e9fe6707438f1c315c91d6d Mon Sep 17 00:00:00 2001 From: David Bernazal Date: Wed, 17 Nov 2021 09:58:26 -0600 Subject: [PATCH] Pass along max_children config to ProcessesSupervisor --- lib/horde/dynamic_supervisor.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/horde/dynamic_supervisor.ex b/lib/horde/dynamic_supervisor.ex index 534b871..2ebfbba 100644 --- a/lib/horde/dynamic_supervisor.ex +++ b/lib/horde/dynamic_supervisor.ex @@ -205,6 +205,7 @@ defmodule Horde.DynamicSupervisor do type: :supervisor, name: supervisor_name(name), strategy: flags.strategy, + max_children: flags.max_children, max_restarts: flags.max_restarts, max_seconds: flags.max_seconds ]},