gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-cashless2ecash] branch master updated: fix: enhance logging


From: gnunet
Subject: [taler-cashless2ecash] branch master updated: fix: enhance logging
Date: Mon, 03 Jun 2024 17:24:50 +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 401d2cc  fix: enhance logging
401d2cc is described below

commit 401d2cc15dd6c0191596e2bb9c8a55239aa92c90
Author: Joel-Haeberli <haebu@rubigen.ch>
AuthorDate: Mon Jun 3 17:24:43 2024 +0200

    fix: enhance logging
---
 c2ec/http-util.go     | 2 --
 c2ec/proc-transfer.go | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/c2ec/http-util.go b/c2ec/http-util.go
index c2df84d..784c1d3 100644
--- a/c2ec/http-util.go
+++ b/c2ec/http-util.go
@@ -94,8 +94,6 @@ func ReadStructFromBody[T any](req *http.Request, codec 
Codec[T]) (*T, error) {
                return nil, err
        }
 
-       LogInfo("http-util", fmt.Sprintf("received body in request:\n%s\n", 
string(bodyBytes)))
-
        return codec.Decode(bytes.NewReader(bodyBytes))
 }
 
diff --git a/c2ec/proc-transfer.go b/c2ec/proc-transfer.go
index 9b281b1..07ce216 100644
--- a/c2ec/proc-transfer.go
+++ b/c2ec/proc-transfer.go
@@ -39,9 +39,9 @@ func RunTransferrer(
                        time.Sleep(REFUND_RETRY_INTERVAL_SECONDS * time.Second)
                        if lastlog.Before(time.Now().Add(time.Second * -30)) {
                                LogInfo("proc-transfer", "transferrer executing 
transfers")
-                               lastlog = time.Now()
                        }
                        executePendingTransfers(errs, lastlog)
+                       lastlog = time.Now()
                }
        }()
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]