aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-07-30 21:09:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-30 21:09:19 +0800
commit54d11119657d7462f58aacc3be0a9931e7de0b89 (patch)
treeb4e7c0db957c9bc9a3250af678c5f60874f7bda0 /cmd
parent2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b (diff)
downloaddexon-54d11119657d7462f58aacc3be0a9931e7de0b89.tar
dexon-54d11119657d7462f58aacc3be0a9931e7de0b89.tar.gz
dexon-54d11119657d7462f58aacc3be0a9931e7de0b89.tar.bz2
dexon-54d11119657d7462f58aacc3be0a9931e7de0b89.tar.lz
dexon-54d11119657d7462f58aacc3be0a9931e7de0b89.tar.xz
dexon-54d11119657d7462f58aacc3be0a9931e7de0b89.tar.zst
dexon-54d11119657d7462f58aacc3be0a9931e7de0b89.zip
cmd/puppeth: force tiny memory for geth attach in id lookup
Diffstat (limited to 'cmd')
-rw-r--r--cmd/puppeth/module_node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go
index 1e1767c04..34377733f 100644
--- a/cmd/puppeth/module_node.go
+++ b/cmd/puppeth/module_node.go
@@ -221,7 +221,7 @@ func checkNode(client *sshClient, network string, boot bool) (*nodeInfos, error)
// Container available, retrieve its node ID and its genesis json
var out []byte
- if out, err = client.Run(fmt.Sprintf("docker exec %s_%s_1 geth --exec admin.nodeInfo.id attach", network, kind)); err != nil {
+ if out, err = client.Run(fmt.Sprintf("docker exec %s_%s_1 geth --exec admin.nodeInfo.id --cache=16 attach", network, kind)); err != nil {
return nil, ErrServiceUnreachable
}
id := bytes.Trim(bytes.TrimSpace(out), "\"")