diff --git a/relayer/commands.go b/relayer/commands.go index 75a5e3f4..8e8e2336 100644 --- a/relayer/commands.go +++ b/relayer/commands.go @@ -28,7 +28,16 @@ func (r *Relayer) GetRelayPacketsCmd() *exec.Cmd { // @20240319 the flags `--max-msgs` and `--flush-interval` improve the relayer performance // a better solution should be implemented as a part of https://github.com/dymensionxyz/roller/issues/769 func (r *Relayer) GetStartCmd() *exec.Cmd { - args := []string{"start", "--max-msgs", "100", "--flush-interval", "10s"} + args := []string{ + "start", + "--max-msgs", + "100", + "--time-threshold", + "2h", + "--no-flush", + "--log-format", + "json", + } args = append(args, r.getRelayerDefaultArgs()...) return exec.Command(consts.Executables.Relayer, args...) }