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 6b02a5d commit ea525e7
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 @@ -191,7 +191,11 @@ type sessionPool interface {
func NewHandle(ctx sessionctx.Context, lease time.Duration, pool sessionPool, tracker sessionctx.SysProcTracker, serverIDGetter func() uint64) (*Handle, error) {
cfg := config.GetGlobalConfig()
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)},
idxUsageListHead: &SessionIndexUsageCollector{mapper: make(indexUsageMap)},
pool: pool,
Expand Down

0 comments on commit ea525e7

Please sign in to comment.