fix tries metrics off-by-one

This commit is contained in:
Jonathan Shook
2023-08-28 16:14:54 -05:00
parent a788d3fdf2
commit 96873acca1

View File

@@ -91,7 +91,7 @@ public class StandardAction<A extends StandardActivity<R, ?>, R extends Op> impl
while (op != null) {
int tries = 0;
while (tries++ < maxTries) {
while (++tries < maxTries) {
Throwable error = null;
long startedAt = System.nanoTime();