diff --git a/src/folsom_metrics_history.erl b/src/folsom_metrics_history.erl index 6913063..6f769c6 100644 --- a/src/folsom_metrics_history.erl +++ b/src/folsom_metrics_history.erl @@ -42,6 +42,7 @@ new(Name) -> Tid = ets:new(history, ?ETSOPTS), ets:insert(?HISTORY_TABLE, {Name, #history{tid=Tid}}), + ets:give_away(Tid, whereis(folsom_sup), none), ok. update(Name, Size, Value) ->