Skip to content

Commit

Permalink
fix app.toml (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 authored Nov 26, 2024
1 parent 9ad3579 commit a3a38ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (m *Manager) RunBabylondResource(
"--covenant-quorum=1 --covenant-pks=%s "+
"--min-signed-per-window=0 && "+ // never jail sluggish fps
"chmod -R 777 /home && "+
"sed -i -e 's/iavl-cache-size = 781250/iavl-cache-size = 100000/' /home/node0/babylond/config/app.toml && "+ // disable the cache otherwise we go OOM
"sed -i -e 's/iavl-cache-size = 0/iavl-cache-size = 100000/' /home/node0/babylond/config/app.toml && "+ // disable the cache otherwise we go OOM
//"sed -i -e 's/iavl-disable-fastnode = false/iavl-disable-fastnode = true/' /home/node0/babylond/config/app.toml && "+
`sed -i -e 's/timeout_commit = "5s"/timeout_commit = "2s"/' /home/node0/babylond/config/config.toml &&`+
"babylond start --home=/home/node0/babylond --rpc.pprof_laddr=0.0.0.0:6060",
Expand Down Expand Up @@ -279,7 +279,7 @@ func (m *Manager) RunBabylondResource(
cmd2 := []string{
"sh", "-c", fmt.Sprintf(
"chmod -R 777 /home && ls -la &&" +
"sed -i -e 's/iavl-cache-size = 781250/iavl-cache-size = 100000/' /home/node1/babylond/config/app.toml && " + // disable the cache otherwise we go OOM
"sed -i -e 's/iavl-cache-size = 0/iavl-cache-size = 100000/' /home/node1/babylond/config/app.toml && " + // disable the cache otherwise we go OOM
//"sed -i -e 's/iavl-disable-fastnode = false/iavl-disable-fastnode = true/' /home/node1/babylond/config/app.toml && " +
`sed -i -e 's/timeout_commit = "5s"/timeout_commit = "2s"/' /home/node1/babylond/config/config.toml &&` +
"babylond start --home=/home/node1/babylond --rpc.pprof_laddr=0.0.0.0:6060",
Expand Down

0 comments on commit a3a38ca

Please sign in to comment.