Skip to content

episcina:stop(Pool) not work  #21

@stofel

Description

@stofel

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions