diff options
| author | babenko <[email protected]> | 2026-04-23 23:19:05 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-04-23 23:42:22 +0300 |
| commit | dccd349dbac64a9ab0baeb3ba21597ff55c3800d (patch) | |
| tree | e80edc963dcf322e41a3658dd3a4fd2bac9f8ec5 /contrib/tools/python3/Python/getargs.c | |
| parent | c5d664de685c63698c737d7178cb6676127bd15a (diff) | |
Fix InversedWeight computed as product instead of quotient in TFairShareInvokerQueue
`InversedWeight` was set to `ceil(UnitWeight * weight)` but the field comment
and semantics require `ceil(UnitWeight / weight)` — a heavier bucket should
have a smaller inversed weight so it is penalized less. Also guards against
zero weight by falling back to `UnitWeight`, and clamps the result to at
least 1.
commit_hash:358839f4b0deed4b13f1bdd18e8a8e053d347e2f
Diffstat (limited to 'contrib/tools/python3/Python/getargs.c')
0 files changed, 0 insertions, 0 deletions
