Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: f1bd2f8d6e52253335578af322d18af3efea9e6b
      
https://github.com/btcsuite/btcd/commit/f1bd2f8d6e52253335578af322d18af3efea9e6b
  Author: Dave Collins <[email protected]>
  Date:   2015-10-23 (Fri, 23 Oct 2015)

  Changed paths:
    M peer/peer.go

  Log Message:
  -----------
  peer: Ping on interval instead of delayed timer.

This commit modifies the ping logic in the peer to ping on an interval
regardless of what other messages are being sent versus the previous
method of delaying the ping each time a message that is expected to
receive data is sent.

This helps improve the ping statistics and simplifies its logic.


Reply via email to