aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/constant.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-08-13 16:06:29 +0800
committermissionliao <38416648+missionliao@users.noreply.github.com>2018-08-13 16:06:29 +0800
commite22580beadb70991d95f13677f22701fe273791a (patch)
treec22a62d4c82c4b2bc66bdea7ab1a0e4cb790865f /simulation/constant.go
parenta8ebf501e54406c7449f71dba0c9af696bbc4e21 (diff)
downloaddexon-consensus-e22580beadb70991d95f13677f22701fe273791a.tar
dexon-consensus-e22580beadb70991d95f13677f22701fe273791a.tar.gz
dexon-consensus-e22580beadb70991d95f13677f22701fe273791a.tar.bz2
dexon-consensus-e22580beadb70991d95f13677f22701fe273791a.tar.lz
dexon-consensus-e22580beadb70991d95f13677f22701fe273791a.tar.xz
dexon-consensus-e22580beadb70991d95f13677f22701fe273791a.tar.zst
dexon-consensus-e22580beadb70991d95f13677f22701fe273791a.zip
simulation: fix concurrent map write (#52)
Fix concurrent map write and also change k8s settings.
Diffstat (limited to 'simulation/constant.go')
-rw-r--r--simulation/constant.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/constant.go b/simulation/constant.go
index 79ef84a..b805118 100644
--- a/simulation/constant.go
+++ b/simulation/constant.go
@@ -19,5 +19,5 @@ package simulation
const (
peerPort = 8080
- msgBufferSize = 256
+ msgBufferSize = 2560
)