fix jinzhi

This commit is contained in:
anlicheng 2024-07-31 20:09:51 +08:00
parent 40860f197a
commit 45f7560957

View File

@ -121,7 +121,7 @@ handle_info({timeout, _, {repost_ticker, Id, ReqBody}}, State = #state{timer_map
catch do_post(Url, Id, ReqBody),
TimerRef = erlang:start_timer(?RETRY_INTERVAL, self(), {repost_ticker, Id, ReqBody}),
{keep_state, State#state{timer_map = maps:put(Id, TimerRef, TimerMap)}};
{noreply, State#state{timer_map = maps:put(Id, TimerRef, TimerMap)}};
handle_info({'DOWN', _MRef, process, _Pid, normal}, State) ->
{noreply, State};