[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-cashless2ecash] branch master updated: log: enhance logging
From: |
gnunet |
Subject: |
[taler-cashless2ecash] branch master updated: log: enhance logging |
Date: |
Sun, 02 Jun 2024 09:52:04 +0200 |
This is an automated email from the git hooks/post-receive script.
joel-haeberli pushed a commit to branch master
in repository cashless2ecash.
The following commit(s) were added to refs/heads/master by this push:
new 6a4535a log: enhance logging
6a4535a is described below
commit 6a4535a7d59929f0260bdd5f4b947d93cc19eab1
Author: Joel-Haeberli <haebu@rubigen.ch>
AuthorDate: Sun Jun 2 09:52:00 2024 +0200
log: enhance logging
---
c2ec/exponential-backoff.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c2ec/exponential-backoff.go b/c2ec/exponential-backoff.go
index 20dea9b..3ef91da 100644
--- 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
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging,
gnunet <=
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02
- [taler-cashless2ecash] branch master updated: log: enhance logging, gnunet, 2024/06/02