diff --git a/pkg/replication/replication_mode.go b/pkg/replication/replication_mode.go index 1a94abb09fe..03ed336fd9f 100644 --- a/pkg/replication/replication_mode.go +++ b/pkg/replication/replication_mode.go @@ -62,7 +62,7 @@ type FileReplicater interface { } const drStatusFile = "DR_STATE" -const persistFileTimeout = time.Second * 10 +const persistFileTimeout = time.Second * 3 // ModeManager is used to control how raft logs are synchronized between // different tikv nodes.