Skip to content

Commit

Permalink
ddl: make the SyncerSessionTTL smaller (pingcap#10371)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Jun 13, 2019
1 parent 0174d02 commit f9494a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddl/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var (
CheckVersFirstWaitTime = 50 * time.Millisecond
// SyncerSessionTTL is the etcd session's TTL in seconds.
// and it's an exported variable for testing.
SyncerSessionTTL = 10 * 60
SyncerSessionTTL = 90
// WaitTimeWhenErrorOccured is waiting interval when processing DDL jobs encounter errors.
WaitTimeWhenErrorOccured = 1 * time.Second
)
Expand Down

0 comments on commit f9494a9

Please sign in to comment.