19 lines
447 B
Erlang
19 lines
447 B
Erlang
%%%-------------------------------------------------------------------
|
|
%% @doc efka public API
|
|
%% @end
|
|
%%%-------------------------------------------------------------------
|
|
|
|
-module(efka_app).
|
|
|
|
-behaviour(application).
|
|
|
|
-export([start/2, stop/1]).
|
|
|
|
start(_StartType, _StartArgs) ->
|
|
io:setopts([{encoding, unicode}]),
|
|
%% 加速内存的回收
|
|
erlang:system_flag(fullsweep_after, 16),
|
|
efka_sup:start_link().
|
|
|
|
stop(_State) ->
|
|
ok. |