Decreased timeout
This commit is contained in:
parent
7c0a27a0f4
commit
8820d4e5ac
2
peer.go
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…
Reference in New Issue
Block a user