Ver a proveniência

ft: 代码修改

master
SisMaker há 4 anos
ascendente
cometimento
1db49af90f
2 ficheiros alterados com 3 adições e 2 eliminações
  1. +2
    -1
      src/eTpf.erl
  2. +1
    -1
      src/eTpf_sup.erl

+ 2
- 1
src/eTpf.erl Ver ficheiro

@ -118,7 +118,8 @@ doTrace(InputList, TracerMod, TracerOpts, TraceOpts) ->
id => TracerId,
start => {TracerMod, start_link, [TracerOpts]},
restart => temporary,
type => worker
type => worker,
shutdown => infinity
}),
_Mode = maps:get(mode, TraceOpts, trace),

+ 1
- 1
src/eTpf_sup.erl Ver ficheiro

@ -7,7 +7,7 @@
]).
-define(SERVER, ?MODULE).
-define(ChildSpec(Id, Type), #{id => Id, start => {Id, start_link, []}, restart => permanent, shutdown => 5000, type => Type, modules => [Id]}).
-define(ChildSpec(Id, Type), #{id => Id, start => {Id, start_link, []}, restart => permanent, shutdown => infinity, type => Type, modules => [Id]}).
start_link() ->
supervisor:start_link({local, ?SERVER}, ?MODULE, []).

Carregando…
Cancelar
Guardar