Fix retryingJitteredExponentialBackoffDur when jitter_param=0
Summary: `retryingJitteredExponentialBackoffDur()` supports `jitter_param=0` (sanctioned in tests, and widely used to disable jitter based on a runtime parameter), but `std::normal_distribution` does not, so just special-case it. In practice, libstdc++ already returns 0. Reviewed By: yfeldblum Differential Revision: D31722687 fbshipit-source-id: d81b1736379c596c4fc352b0067a4ad5788b0f8c
Showing
Please register or sign in to comment