refactor: use macro to denote initial transaction id
This commit is contained in:
parent
6b969c5c84
commit
8519948742
|
@ -24,6 +24,8 @@
|
||||||
-include_lib("emqx/include/logger.hrl").
|
-include_lib("emqx/include/logger.hrl").
|
||||||
-include("emqx_conf.hrl").
|
-include("emqx_conf.hrl").
|
||||||
|
|
||||||
|
-define(DEFAULT_INIT_TXN_ID, -1).
|
||||||
|
|
||||||
start(_StartType, _StartArgs) ->
|
start(_StartType, _StartArgs) ->
|
||||||
init_conf(),
|
init_conf(),
|
||||||
emqx_conf_sup:start_link().
|
emqx_conf_sup:start_link().
|
||||||
|
|
Loading…
Reference in New Issue