Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
tweak producer_callback param
  • Loading branch information
jkvor committed Aug 25, 2011
1 parent f4c19eb commit 52b6bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logplex_app.erl
Expand Up @@ -133,9 +133,9 @@ logplex_drain_buffer_args() ->
StrNum2 -> list_to_integer(StrNum2)
end,
Dict = dict:from_list([
{producer_callback, {ok, fun(_Pid, Action) ->
{producer_callback, fun(_Pid, Action) ->
[Pid ! {logplex_drain_buffer, Action} ||{_,Pid,_,_} <- supervisor:which_children(logplex_worker_sup)]
end}}
end}
]),
[{name, "logplex_drain_buffer"},
{max_length, MaxLength},
Expand Down

0 comments on commit 52b6bf1

Please sign in to comment.