mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 23:57:23 +00:00
Decreased timeout
This commit is contained in:
parent
7c0a27a0f4
commit
8820d4e5ac
1 changed files with 1 additions and 1 deletions
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 a new issue