refactor: use macro to denote initial transaction id

This commit is contained in:
Thales Macedo Garitezi 2022-04-25 09:09:45 -03:00
parent 6b969c5c84
commit 8519948742
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@
-include_lib("emqx/include/logger.hrl").
-include("emqx_conf.hrl").
-define(DEFAULT_INIT_TXN_ID, -1).
start(_StartType, _StartArgs) ->
init_conf(),
emqx_conf_sup:start_link().