From 5f52742eb58b076aecb57a20c45f4d2959263fc2 Mon Sep 17 00:00:00 2001 From: Lynn Date: Thu, 13 Jun 2019 14:27:38 +0800 Subject: [PATCH] ddl: make the SyncerSessionTTL smaller (#10371) (#10789) --- ddl/syncer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddl/syncer.go b/ddl/syncer.go index e269c24d4ca69..102b83ac8a1c8 100644 --- a/ddl/syncer.go +++ b/ddl/syncer.go @@ -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 )