diff options
author | zelig <viktor.tron@gmail.com> | 2014-07-22 02:26:01 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-07-22 02:26:01 +0800 |
commit | 74abc457ada9ef17c39c488a9e7625cecd4e6141 (patch) | |
tree | c403357bd2f44c644f32b8c88ba27519846c8e20 /ethereal/gui.go | |
parent | 9f7d8ff302f33b61acae4a8724686e868ba94ccd (diff) | |
download | dexon-74abc457ada9ef17c39c488a9e7625cecd4e6141.tar.gz dexon-74abc457ada9ef17c39c488a9e7625cecd4e6141.tar.zst dexon-74abc457ada9ef17c39c488a9e7625cecd4e6141.zip |
reactor event channels have large buffer to allow more tolerance
Diffstat (limited to 'ethereal/gui.go')
-rw-r--r-- | ethereal/gui.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ethereal/gui.go b/ethereal/gui.go index bfae97050..9bc11e81e 100644 --- a/ethereal/gui.go +++ b/ethereal/gui.go @@ -281,12 +281,12 @@ func (self *Gui) getObjectByName(objectName string) qml.Object { func (gui *Gui) update() { var ( - blockChan = make(chan ethreact.Event, 1) - txChan = make(chan ethreact.Event, 1) - objectChan = make(chan ethreact.Event, 1) - peerChan = make(chan ethreact.Event, 1) - chainSyncChan = make(chan ethreact.Event, 1) - miningChan = make(chan ethreact.Event, 1) + blockChan = make(chan ethreact.Event, 100) + txChan = make(chan ethreact.Event, 100) + objectChan = make(chan ethreact.Event, 100) + peerChan = make(chan ethreact.Event, 100) + chainSyncChan = make(chan ethreact.Event, 100) + miningChan = make(chan ethreact.Event, 100) ) peerUpdateTicker := time.NewTicker(5 * time.Second) |