|
|
@@ -0,0 +1,30 @@
|
|
|
+%%--------------------------------------------------------------------
|
|
|
+%% Copyright (c) 2017-2021 EMQ Technologies Co., Ltd. All Rights Reserved.
|
|
|
+%%
|
|
|
+%% Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
+%% you may not use this file except in compliance with the License.
|
|
|
+%% You may obtain a copy of the License at
|
|
|
+%%
|
|
|
+%% http://www.apache.org/licenses/LICENSE-2.0
|
|
|
+%%
|
|
|
+%% Unless required by applicable law or agreed to in writing, software
|
|
|
+%% distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
+%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
+%% See the License for the specific language governing permissions and
|
|
|
+%% limitations under the License.
|
|
|
+%%--------------------------------------------------------------------
|
|
|
+
|
|
|
+-ifndef(EMQ_MACHINE_X_HRL).
|
|
|
+-define(EMQ_MACHINE_X_HRL, true).
|
|
|
+
|
|
|
+-define(COMMON_SHARD, emqx_common_shard).
|
|
|
+-define(SHARED_SUB_SHARD, emqx_shared_sub_shard).
|
|
|
+-define(CM_SHARD, emqx_cm_shard).
|
|
|
+-define(ROUTE_SHARD, route_shard).
|
|
|
+
|
|
|
+-define(BOOT_SHARDS, [ ?ROUTE_SHARD
|
|
|
+ , ?COMMON_SHARD
|
|
|
+ , ?SHARED_SUB_SHARD
|
|
|
+ ]).
|
|
|
+
|
|
|
+-endif.
|