Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Spade A <[email protected]>
  • Loading branch information
SpadeA-Tang committed Jul 11, 2023
1 parent 7ebc142 commit def73fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ package config

import (
"fmt"
"github.com/tikv/client-go/v2/tikv"
"time"

"google.golang.org/grpc/encoding/gzip"
Expand Down Expand Up @@ -153,7 +154,7 @@ func DefaultTiKVClient() TiKVClient {
AdmissionMaxResultMB: 10,
AdmissionMinProcessMs: 5,
},
CoprReqTimeout: 60 * time.Second,
CoprReqTimeout: tikv.ReadTimeoutMedium,

ResolveLockLiteThreshold: 16,
}
Expand Down

0 comments on commit def73fb

Please sign in to comment.