Skip to content

Commit

Permalink
ddl: make the SyncerSessionTTL smaller (#10371)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala authored and bb7133 committed Jun 11, 2019
1 parent 45ff4f6 commit 4077d22
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 @@ -57,7 +57,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 4077d22

Please sign in to comment.