yeputons

Untitled

Apr 4th, 2014
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.26 KB | None | 0 0
  1.    if WaitForHeartbeat then begin
  2.       if (MyNow - LastHeartbeat) * 86400 >= HeartbeatTimeout then begin
  3.         writelog (format('No heartbeat for %d seconds', [HeartbeatTimeout]));
  4.         CloseChannel (JudgeChannel); ChannelClosed:=true;
  5.       end;
  6.     end;
Add Comment
Please, Sign In to add comment