HuangDan 7 年 前
コミット
5dfd431040
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/emqx_shared_sub.erl

+ 1 - 1
src/emqx_shared_sub.erl

@@ -62,7 +62,7 @@ mnesia(copy) ->
 start_link() ->
 start_link() ->
     gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
     gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
 
 
--spec(strategy() -> random | round_robin | stiky | hash).
+-spec(strategy() -> random | round_robin | sticky | hash).
 strategy() ->
 strategy() ->
     emqx_config:get_env(shared_subscription_strategy, round_robin).
     emqx_config:get_env(shared_subscription_strategy, round_robin).