commit b27398d2a597af8a60b507db1f8ef97c50c0619b
parent de9daaf641cd4a4e41e61de6cc3c6eac8913b59c
Author: Joel-Haeberli <haebu@rubigen.ch>
Date: Sun, 2 Jun 2024 09:57:01 +0200
log: enhance logging
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/c2ec/proc-retrier.go b/c2ec/proc-retrier.go
@@ -39,7 +39,6 @@ func RunRetrier(ctx context.Context, errs chan error) {
var lastRetryTs int64 = 0
if w.LastRetryTs != nil {
lastRetryTs = *w.LastRetryTs
- // TODO -> ShouldStartRetry is buggy
if ShouldStartRetry(time.Unix(lastRetryTs, 0), int(w.RetryCounter), CONFIG.Server.RetryDelayMs) {
LogInfo("proc-retries", "retrying for wopid="+encodeCrock(w.Wopid))
attest(w, errs)