Skip to content

Conversation

NagyZoltanPeter
Copy link

This PR intended to verify nim-chronos updated TokenBucket compatibility with eth2.

The nim-chronos vendor submodule has been updated to a 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 utilize available tokens better and serve small bursts 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.

Copy link

Unit Test Results

       15 files  ±0    2 660 suites  ±0   1h 19m 28s ⏱️ - 13m 37s
10 794 tests ±0  10 232 ✔️ ±0  562 💤 ±0  0 ±0 
66 506 runs  ±0  65 714 ✔️ ±0  792 💤 ±0  0 ±0 

Results for commit e8f1735. ± Comparison against base commit 7e8cb8e.

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