diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-09 15:51:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 15:51:56 +0800 |
commit | 995e571375298923bf07d205237a664b03de3b57 (patch) | |
tree | c32eccfdc304d2be558f6641145ed3d6588cf0ac /simulation/peer-server.go | |
parent | 25018527ec18ec2830801983d19e63a0ebf7b263 (diff) | |
download | dexon-consensus-995e571375298923bf07d205237a664b03de3b57.tar dexon-consensus-995e571375298923bf07d205237a664b03de3b57.tar.gz dexon-consensus-995e571375298923bf07d205237a664b03de3b57.tar.bz2 dexon-consensus-995e571375298923bf07d205237a664b03de3b57.tar.lz dexon-consensus-995e571375298923bf07d205237a664b03de3b57.tar.xz dexon-consensus-995e571375298923bf07d205237a664b03de3b57.tar.zst dexon-consensus-995e571375298923bf07d205237a664b03de3b57.zip |
simulation: add more time for k8s to start (#417)
Diffstat (limited to 'simulation/peer-server.go')
-rw-r--r-- | simulation/peer-server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/peer-server.go b/simulation/peer-server.go index 11785f4..a98c59a 100644 --- a/simulation/peer-server.go +++ b/simulation/peer-server.go @@ -180,7 +180,7 @@ func (p *PeerServer) Setup( switch cfg.Networking.Type { case "tcp", "tcp-local": p.trans = test.NewTCPTransportServer(&jsonMarshaller{}, peerPort) - dMoment = dMoment.Add(5 * time.Second) + dMoment = dMoment.Add(10 * time.Second) case "fake": p.trans = test.NewFakeTransportServer() default: |