From 8519948742f7d3af5b571389531441bc39d54499 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Mon, 25 Apr 2022 09:09:45 -0300 Subject: [PATCH] refactor: use macro to denote initial transaction id --- apps/emqx_conf/src/emqx_conf_app.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/emqx_conf/src/emqx_conf_app.erl b/apps/emqx_conf/src/emqx_conf_app.erl index 2115bc617..8b2b81cb4 100644 --- a/apps/emqx_conf/src/emqx_conf_app.erl +++ b/apps/emqx_conf/src/emqx_conf_app.erl @@ -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().