Skip to content

Commit

Permalink
fix: do not kill tendermint process
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Nov 25, 2024
1 parent 5856485 commit 494c01c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions proxy/multi_app_conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (

abcicli "github.com/tendermint/tendermint/abci/client"
cmtlog "github.com/tendermint/tendermint/libs/log"
cmtos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/libs/service"
)

Expand Down Expand Up @@ -129,10 +128,11 @@ func (app *multiAppConn) killTMOnClientError() {
logger.Error(
fmt.Sprintf("%s connection terminated. Did the application crash? Please restart CometBFT", conn),
"err", err)
killErr := cmtos.Kill()
if killErr != nil {
logger.Error("Failed to kill this process - please do so manually", "err", killErr)
}
// Do not kill tendermint process to enable KSYNC to continue running during upgrades
//killErr := cmtos.Kill()
//if killErr != nil {
// logger.Error("Failed to kill this process - please do so manually", "err", killErr)
//}
}

select {
Expand Down

0 comments on commit 494c01c

Please sign in to comment.