diff options
author | Andrey Chulkov <achulkov2@nebius.com> | 2024-07-16 14:31:04 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-07-16 14:47:55 +0300 |
commit | 7cc1172346c0693dd58b3ef6d6e5060c8ae3ad9f (patch) | |
tree | 4cb16862060c266a7e4a3778884cedda9b3b60e1 /contrib/go/_std_1.22/src/syscall/zsyscall_darwin_arm64.go | |
parent | 3780d56cf805ef68f1739b4cfb4619ecdb788871 (diff) | |
download | ydb-7cc1172346c0693dd58b3ef6d6e5060c8ae3ad9f.tar.gz |
Fix zero limit in throughput throttler (again)
Zero limit strikes back!
This PR changes the behavior of the throughput throttler when the limit is zero: previously it would act as an unlimited throttler, now it will keep requests waiting infinitely. Looking back at older changes, I don't think the current behavior was intended.
It also fixes one related division by zero case.
---
02b4c4ec8bf52790a86e518f519c09f375b57355
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/700
Diffstat (limited to 'contrib/go/_std_1.22/src/syscall/zsyscall_darwin_arm64.go')
0 files changed, 0 insertions, 0 deletions