diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-07-30 21:32:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-30 21:32:10 +0800 |
commit | 3ea8ac6a9ab9e56164707119e9142f06fae4c316 (patch) | |
tree | 788be43b3cfa710ac7bc1823c7d1242e53a9ae44 /cmd/puppeth | |
parent | 6380c06c6541f6a3422ea3c173baa00100e4ba8e (diff) | |
parent | 54d11119657d7462f58aacc3be0a9931e7de0b89 (diff) | |
download | go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.tar go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.tar.gz go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.tar.bz2 go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.tar.lz go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.tar.xz go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.tar.zst go-tangerine-3ea8ac6a9ab9e56164707119e9142f06fae4c316.zip |
Merge pull request #17281 from karalabe/puppeth-cachewarn-fix
cmd/puppeth: force tiny memory for geth attach in id lookup
Diffstat (limited to 'cmd/puppeth')
-rw-r--r-- | cmd/puppeth/module_node.go | 2 |
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), "\"") |