fix(management): Don't wait for an empty shard

This commit is contained in:
ieQu1 2023-06-20 10:08:41 +02:00
parent 53ab85b165
commit e5803a61f1
2 changed files with 0 additions and 3 deletions

View File

@ -14,6 +14,4 @@
%% limitations under the License.
%%--------------------------------------------------------------------
-define(MANAGEMENT_SHARD, emqx_management_shard).
-define(DEFAULT_ROW_LIMIT, 100).

View File

@ -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),