impr(CLDSRV-852): Refactor WorkerTokenBucket#6108
impr(CLDSRV-852): Refactor WorkerTokenBucket#6108tmacro wants to merge 3 commits intoimprovement/CLDSRV-852/refactor_cachefrom
Conversation
❌ 109 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
446cb3b to
ee952c3
Compare
|
LGTM |
4b83cef to
b40ff80
Compare
ee952c3 to
a68c32e
Compare
b40ff80 to
100976b
Compare
5a26928 to
e34db4d
Compare
|
Clean refactoring. The removal of |
Review by Claude Code |
…urceClass, resourceId, and measure
- Change constructor to accept resourceClass, resourceId, measure - Precalculate interval for reuse in constructor - Add hasCapacity() method - Add updateLimit() method to encasulate limit change logic - Remove unused mechanism to record request durations - Simplify refill logic
7be0a34 to
4cc343b
Compare
|
Note for revewers: S3 API unit tests are still expected to fail