Update watch delay increment to 50ms#55
Conversation
|
@MikeGoldsmith looks like a good improvement, I think we need full +1 from all owners so we can merge this (double check with the impls and if not conform file tickets). edit: I just checked, and java indeed uses 500 -> private static final Delay INDEX_WATCH_DELAY = Delay.linear(TimeUnit.MILLISECONDS, 1000, 50, 500);ping @couchbaselabs/sdk-team |
|
Python: Python uses a fixed single-second interval, but this is easy to adjust by the user at a per-operation level. I haven't yet got around to implementing a lower/upper bound. |
|
.NET currently uses a fixed 50ms interval |
|
@couchbaselabs/sdk-team heads up! 🔥
|
|
@MikeGoldsmith the only thing that might make sense is in additon to add an explicit "errata" to the rfc at the end which mentions this change. |
|
While this might be out-of-scope for this RFC, what's the recommended retry interval for clients which don't use a linearly increasing interval? |
| # Errata | ||
| 1. 18th April 2017 | ||
| - Update index watch retry increment from 500ms to 50ms | ||
| - Add static watch index retry interval of 250ms if linear retry increments is not available |
cc991a8 to
8b3b33d
Compare
|
@daschl I believe this is ready for review. |
Updated the increment amount to 50ms for watch index retry delay.
The sentence indicates starting at 50ms with an upper bound of 1000ms but originally had the increment set at 500ms, which would only allow 2 increments before the upper bound was reached.