fix event_period_settings
This commit is contained in:
parent
2aeda3d2a4
commit
522981b0a9
@ -73,9 +73,7 @@ start_link() ->
|
||||
{stop, Reason :: term()} | ignore).
|
||||
init([]) ->
|
||||
ets:new(?TAB_NAME, [public, set, named_table, {keypos, 2}, {read_concurrency, true}]),
|
||||
catch settings(),
|
||||
erlang:start_timer(?UPDATE_TICKER * 1000, self(), update_ticker),
|
||||
|
||||
erlang:start_timer(0, self(), update_ticker),
|
||||
{ok, #state{}}.
|
||||
|
||||
%% @private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user