Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

episcina:stop(Pool) not work #21

Open
stofel opened this issue Oct 6, 2016 · 0 comments
Open

episcina:stop(Pool) not work #21

stofel opened this issue Oct 6, 2016 · 0 comments

Comments

@stofel
Copy link

stofel commented Oct 6, 2016

Hi
On episcina:stop(Pool) epna_sup do restart pool
patch:

diff --git a/src/epna_sup.erl b/src/epna_sup.erl
index 61b13cf..56bc105 100644
--- a/src/epna_sup.erl
+++ b/src/epna_sup.erl
@@ -41,7 +41,7 @@ init([]) ->

     SupFlags = {RestartStrategy, MaxR, MaxT},

-    Restart = permanent,
+    Restart = transient,
     Shutdown = 2000,
     Type = worker,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant