fix
This commit is contained in:
parent
d4fbd14b91
commit
2bfc195c56
@ -5,13 +5,13 @@
|
|||||||
{mod, {efka_app, []}},
|
{mod, {efka_app, []}},
|
||||||
{applications,
|
{applications,
|
||||||
[
|
[
|
||||||
sync,
|
% sync,
|
||||||
hackney,
|
hackney,
|
||||||
lager,
|
lager,
|
||||||
esockd,
|
esockd,
|
||||||
jiffy,
|
%jiffy,
|
||||||
gpb,
|
%gpb,
|
||||||
mnesia,
|
%mnesia,
|
||||||
crypto,
|
crypto,
|
||||||
ssl,
|
ssl,
|
||||||
public_key,
|
public_key,
|
||||||
|
|||||||
@ -19,7 +19,9 @@
|
|||||||
|
|
||||||
-define(SERVER, ?MODULE).
|
-define(SERVER, ?MODULE).
|
||||||
|
|
||||||
-record(state, {}).
|
-record(state, {
|
||||||
|
|
||||||
|
}).
|
||||||
|
|
||||||
%%%===================================================================
|
%%%===================================================================
|
||||||
%%% API
|
%%% API
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
start(_StartType, _StartArgs) ->
|
start(_StartType, _StartArgs) ->
|
||||||
io:setopts([{encoding, unicode}]),
|
io:setopts([{encoding, unicode}]),
|
||||||
%% 启动mnesia数据库
|
%% 启动mnesia数据库
|
||||||
mnesia:start(),
|
% mnesia:start(),
|
||||||
%% 加速内存的回收
|
%% 加速内存的回收
|
||||||
erlang:system_flag(fullsweep_after, 16),
|
erlang:system_flag(fullsweep_after, 16),
|
||||||
|
|
||||||
|
|||||||
@ -3,4 +3,4 @@
|
|||||||
-setcookie efka_cookie
|
-setcookie efka_cookie
|
||||||
|
|
||||||
+K true
|
+K true
|
||||||
+A30
|
+A 5
|
||||||
|
|||||||
@ -1,9 +1,5 @@
|
|||||||
{"1.2.0",
|
{"1.2.0",
|
||||||
[{<<"certifi">>,{pkg,<<"certifi">>,<<"2.5.3">>},1},
|
[{<<"certifi">>,{pkg,<<"certifi">>,<<"2.5.3">>},1},
|
||||||
{<<"cowlib">>,
|
|
||||||
{git,"https://github.com/ninenines/cowlib",
|
|
||||||
{ref,"f8d0ad7f19b5dddd33cbfb089ebd2e2be2a81a5d"}},
|
|
||||||
1},
|
|
||||||
{<<"esockd">>,
|
{<<"esockd">>,
|
||||||
{git,"https://github.com/emqx/esockd.git",
|
{git,"https://github.com/emqx/esockd.git",
|
||||||
{ref,"9b959fc11a1c398a589892f335235be6c5b4a454"}},
|
{ref,"9b959fc11a1c398a589892f335235be6c5b4a454"}},
|
||||||
@ -14,10 +10,6 @@
|
|||||||
{git,"https://github.com/tomas-abrahamsson/gpb.git",
|
{git,"https://github.com/tomas-abrahamsson/gpb.git",
|
||||||
{ref,"edda1006d863a09509673778c455d33d88e6edbc"}},
|
{ref,"edda1006d863a09509673778c455d33d88e6edbc"}},
|
||||||
0},
|
0},
|
||||||
{<<"gun">>,
|
|
||||||
{git,"https://github.com/ninenines/gun.git",
|
|
||||||
{ref,"627b8f9ed65da255afaddd166b1b9d102e0fa512"}},
|
|
||||||
0},
|
|
||||||
{<<"hackney">>,
|
{<<"hackney">>,
|
||||||
{git,"https://github.com/benoitc/hackney.git",
|
{git,"https://github.com/benoitc/hackney.git",
|
||||||
{ref,"f642ee0eccaff9aa15707ae3a3effa29f2920e41"}},
|
{ref,"f642ee0eccaff9aa15707ae3a3effa29f2920e41"}},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user