fix jinzhi
This commit is contained in:
parent
40860f197a
commit
45f7560957
@ -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};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user