Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#39532
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
xuyifangreeneyes authored and ti-chi-bot committed Dec 1, 2022
1 parent 5ccc10b commit 6bbc018
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions statistics/handle/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,11 @@ type sessionPool interface {
// NewHandle creates a Handle for update stats.
func NewHandle(ctx sessionctx.Context, lease time.Duration, pool sessionPool) (*Handle, error) {
handle := &Handle{
<<<<<<< HEAD
ddlEventCh: make(chan *util.Event, 100),
=======
ddlEventCh: make(chan *ddlUtil.Event, 1000),
>>>>>>> 12e527213f (statistics: enlarge capacity of ddlEventCh to 1000 (#39532))
listHead: &SessionStatsCollector{mapper: make(tableDeltaMap), rateMap: make(errorRateDeltaMap)},
globalMap: make(tableDeltaMap),
feedback: statistics.NewQueryFeedbackMap(),
Expand Down

0 comments on commit 6bbc018

Please sign in to comment.