Skip to content

Commit

Permalink
ddl: make the SyncerSessionTTL smaller (#10371) (#10795)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala authored Jun 19, 2019
1 parent c24ff4c commit c8636b5
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 c8636b5

Please sign in to comment.