cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

commit 6a4535a7d59929f0260bdd5f4b947d93cc19eab1
parent f65bb25c739b77b33308771e974a778f37199f86
Author: Joel-Haeberli <haebu@rubigen.ch>
Date:   Sun,  2 Jun 2024 09:52:00 +0200

log: enhance logging

Diffstat:
Mc2ec/exponential-backoff.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c2ec/exponential-backoff.go b/c2ec/exponential-backoff.go @@ -40,7 +40,7 @@ func ShouldStartRetry( now := time.Now().Unix() backoffTime := lastExecution.Unix() + randomizedBackoff - LogInfo("exponential-backoff", fmt.Sprintf("now=%d, backoffTime=%d, shouldStartRetry=%s", now, backoffTime, strconv.FormatBool(now <= backoffTime))) + LogInfo("exponential-backoff", fmt.Sprintf("lastExec=%d, now=%d, backoffTime=%d, shouldStartRetry=%s", lastExecution.Unix(), now, backoffTime, strconv.FormatBool(now <= backoffTime))) return now <= backoffTime }