Skip to content

Commit

Permalink
Update cets
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed May 6, 2022
1 parent 4fb1fd8 commit 9ba135d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{<<"certifi">>,{pkg,<<"certifi">>,<<"2.3.1">>},2},
{<<"cets">>,
{git,"https://github.com/arcusfelis/cets.git",
{ref,"6f8b79889844bf2f3778104bdadfba5ee1efc5fc"}},
{ref,"4cc8888397a10b92a95bc614c3a455933b538d53"}},
0},
{<<"cowboy">>,{pkg,<<"cowboy">>,<<"2.9.0">>},0},
{<<"cowboy_swagger">>,{pkg,<<"cowboy_swagger">>,<<"2.5.0">>},0},
Expand Down
2 changes: 1 addition & 1 deletion src/stream_management/mod_stream_management_cets.erl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ maybe_init_stale_h(_, _) -> ok.
SMID :: mod_stream_management:smid(),
SID :: ejabberd_sm:sid().
register_smid(_HostType, SMID, SID) ->
cets:insert(?TABLE, [{{sid, SID}, SMID}, {{smid, SMID}, SID}]).
cets:insert_many(?TABLE, [{{sid, SID}, SMID}, {{smid, SMID}, SID}]).

-spec unregister_smid(mongooseim:host_type(), ejabberd_sm:sid()) ->
{ok, SMID :: mod_stream_management:smid()} | {error, smid_not_found}.
Expand Down

0 comments on commit 9ba135d

Please sign in to comment.