fix(management): Don't wait for an empty shard
This commit is contained in:
parent
53ab85b165
commit
e5803a61f1
|
@ -14,6 +14,4 @@
|
|||
%% limitations under the License.
|
||||
%%--------------------------------------------------------------------
|
||||
|
||||
-define(MANAGEMENT_SHARD, emqx_management_shard).
|
||||
|
||||
-define(DEFAULT_ROW_LIMIT, 100).
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
-include("emqx_mgmt.hrl").
|
||||
|
||||
start(_Type, _Args) ->
|
||||
ok = mria_rlog:wait_for_shards([?MANAGEMENT_SHARD], infinity),
|
||||
case emqx_mgmt_auth:init_bootstrap_file() of
|
||||
ok ->
|
||||
emqx_conf:add_handler([api_key], emqx_mgmt_auth),
|
||||
|
|
Loading…
Reference in New Issue