|
@@ -68,7 +68,7 @@ mnesia(copy) ->
|
|
|
-spec(start_link(atom(), pos_integer()) -> {ok, pid()} | ignore | {error, term()}).
|
|
-spec(start_link(atom(), pos_integer()) -> {ok, pid()} | ignore | {error, term()}).
|
|
|
start_link(Pool, Id) ->
|
|
start_link(Pool, Id) ->
|
|
|
gen_server:start_link({local, emqx_misc:proc_name(?MODULE, Id)},
|
|
gen_server:start_link({local, emqx_misc:proc_name(?MODULE, Id)},
|
|
|
- ?MODULE, [Pool, Id], [{hibernate_after, 2000}]).
|
|
|
|
|
|
|
+ ?MODULE, [Pool, Id], [{hibernate_after, 1000}]).
|
|
|
|
|
|
|
|
%%------------------------------------------------------------------------------
|
|
%%------------------------------------------------------------------------------
|
|
|
%% Route APIs
|
|
%% Route APIs
|