소스 검색

fix(persistent_sessions): start the message gc timer

Tobias Lindahl 4 년 전
부모
커밋
e3dc9b3f4f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/emqx/src/emqx_persistent_session_gc.erl

+ 1 - 1
apps/emqx/src/emqx_persistent_session_gc.erl

@@ -54,7 +54,7 @@ start_link() ->
 
 init([]) ->
     process_flag(trap_exit, true),
-    {ok, start_session_gc_timer(#{})}.
+    {ok, start_message_gc_timer(start_session_gc_timer(#{}))}.
 
 handle_call(_Request, _From, State) ->
     Reply = ok,