Skip to content

Commit

Permalink
ddl: make the SyncerSessionTTL smaller (#10371) (#10789)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala authored and winkyao committed Jun 13, 2019
1 parent c16db9d commit 5f52742
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 5f52742

Please sign in to comment.