commit | 7515c07f4e6b42d42cbc1c4606a20aeca278853a | [log] [tgz] |
---|---|---|
author | Peter Lamut <plamut@users.noreply.github.com> | Tue Jun 18 20:25:44 2019 +0200 |
committer | Solomon Duskis <sduskis@google.com> | Tue Jun 18 14:25:44 2019 -0400 |
tree | edab5dd98f6146bb82ac8890dfeeefa2367f85b9 | |
parent | 2675514a55b6ac76bb385b84c44db02d6805189b [diff] |
Core: Mitigate busy reopen loop in ResumableBidiRpc consuming 100% CPU (#8193) * Add bidi._Throttle helper class * Add optional reopen throttling to ResumableBidiRpc * Enable Bidi reopen throttling in SPM * Change bidi._Throttle signature The commit renames the entry_cap parameter to access_limit, and changes the type of the time_window argument from float to timedelta.