Skip to content

Commit

Permalink
replication mode: tune persist file timeout (tikv#6670)
Browse files Browse the repository at this point in the history
fix tikv#6672

Signed-off-by: disksing <[email protected]>
  • Loading branch information
disksing committed Jul 14, 2023
1 parent f427242 commit bd94a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/replication/replication_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bd94a98

Please sign in to comment.