Skip to content

Commit 4077d22

Browse files
zimulalabb7133
authored andcommitted
ddl: make the SyncerSessionTTL smaller (#10371)
1 parent 45ff4f6 commit 4077d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddl/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var (
5757
CheckVersFirstWaitTime = 50 * time.Millisecond
5858
// SyncerSessionTTL is the etcd session's TTL in seconds.
5959
// and it's an exported variable for testing.
60-
SyncerSessionTTL = 10 * 60
60+
SyncerSessionTTL = 90
6161
// WaitTimeWhenErrorOccured is waiting interval when processing DDL jobs encounter errors.
6262
WaitTimeWhenErrorOccured = 1 * time.Second
6363
)

0 commit comments

Comments
 (0)