Decreased timeout

pull/150/head
obscuren 10 years ago
parent 7c0a27a0f4
commit 8820d4e5ac
  1. 2
      peer.go

@ -319,7 +319,7 @@ func (p *Peer) HandleInbound() {
for atomic.LoadInt32(&p.disconnect) == 0 {
// HMM?
time.Sleep(500 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
// Wait for a message from the peer
msgs, err := ethwire.ReadMessages(p.conn)
if err != nil {

Loading…
Cancel
Save