Skip to content

cmd/sync: ratelimt has the issue of amplification #6627

@zhijian-pro

Description

@zhijian-pro

limiter.Wait(int64(len(b)))

The b is a pool with a size of 1M, and there is a situation of throttling waste when the actual object is less than 1M.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions