From: Evgeniy Khramtsov Date: Wed, 9 May 2018 06:44:26 +0000 (+0300) Subject: Fix a typo X-Git-Tag: 18.06~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11ff2a1ccfa8b8105d7467a2106f7a01cb09e203;p=ejabberd Fix a typo --- diff --git a/src/extauth_sup.erl b/src/extauth_sup.erl index 697c1dec6..882c47df5 100644 --- a/src/extauth_sup.erl +++ b/src/extauth_sup.erl @@ -41,7 +41,7 @@ start(Host) -> Prog -> Pool = extauth:pool_name(Host), ChildSpec = {Pool, {?MODULE, start_link, [Host, Prog, Pool]}, - transient, infinity, supervisor, [?MODULE]}, + permanent, infinity, supervisor, [?MODULE]}, supervisor:start_child(ejabberd_backend_sup, ChildSpec) end. @@ -107,4 +107,4 @@ init([Host, Prog, Pool]) -> worker_spec(Pool, Prog, I) -> Worker = extauth:worker_name(Pool, I), {Worker, {extauth, start_link, [Worker, Prog]}, - permanent, 5000, worker, [extauth]}. + transient, 5000, worker, [extauth]}.