Skip to content

Conversation

@NagyZoltanPeter
Copy link

This PR intended to nim-chronos updated TokenBucket.

nim-chronos vendor submodule is updated to working branch chore-token-bucket-unification.

With status-im/nim-chronos#582 TokenBucket is modified:

  • fixed, to handle initial lastUpdate correctly
  • Updated replenish algorithm to better utilize available tokens and serve small burst that spread in time.
  • no braking interface changes

This PR is not meant to merge as is. Changes can only take effect with vendor bumps after nim-chronos' PR is accepted and merged.

@NagyZoltanPeter NagyZoltanPeter self-assigned this Aug 31, 2025
@github-actions
Copy link

Pull requests to the stable branch are not allowed.
Please open your pull request against the unstable branch.
See https://nimbus.guide/contribute.html#build-and-deploy

@github-actions github-actions bot closed this Aug 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant