Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Feb 16, 2016
1 parent 7a68de5 commit f9fece0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bpe_proc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ handle_info({timer,ping}, State=#process{task=Task,timer=Timer,id=Id,events=Even
Time2 = calendar:local_time(),
%wf:info(?MODULE,"Ping: ~p, Task ~p, Event ~p, Record ~p ~n", [Id,Task,Name,Record]),

{DD,Diff} = case bpe:history(Id,1) ->
{DD,Diff} = case bpe:history(Id,1) of
[#history{time=Time1}] -> calendar:time_difference(Time1,Time2);
_ -> {immediate,timeout} end,

Expand Down

0 comments on commit f9fece0

Please sign in to comment.