Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei authored and ti-chi-bot committed Oct 13, 2021
1 parent ab05c48 commit 08bfcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/kv/token_region.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (r *sizedRegionRouter) Run(ctx context.Context) error {
r.lock.Lock()
for id, buf := range r.buffer {
available := r.sizeLimit - r.tokens[id]
// the tokens used could be more then size limit, since we have
// the tokens used could be more than size limit, since we have
// a sized channel as level1 cache
if available <= 0 {
continue
Expand Down

0 comments on commit 08bfcfc

Please sign in to comment.