aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-16 02:36:11 +0800
committerobscuren <geffobscura@gmail.com>2014-07-16 02:36:11 +0800
commit8820d4e5ac4db36ac6466fb2ee36bcff9e773558 (patch)
treebbabfab505b3862da29954bca311ab20a99bb6c1 /peer.go
parent7c0a27a0f4d750c1977777fc7803592f4208f70e (diff)
downloadgo-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.tar
go-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.tar.gz
go-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.tar.bz2
go-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.tar.lz
go-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.tar.xz
go-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.tar.zst
go-tangerine-8820d4e5ac4db36ac6466fb2ee36bcff9e773558.zip
Decreased timeout
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 8c622aa5c..1e354ca6d 100644
--- a/peer.go
+++ b/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 {