The token-bucket limiter provided a compact way to enforce a per-process event burst and sustained rate. Its integration passed unit and race testing without recorded issues.
- What worked
- The API mapped directly to the desired burst and per-minute controls and remained safe under race testing.