gnunet-svn
[Top][All Lists]
Advanced

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

[taler-cashless2ecash] branch master updated: fix: retrier


From: gnunet
Subject: [taler-cashless2ecash] branch master updated: fix: retrier
Date: Sat, 18 May 2024 14:02:23 +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 4f4038f  fix: retrier
4f4038f is described below

commit 4f4038f0a32bc07567c647e23a643822081b6141
Author: Joel-Haeberli <haebu@rubigen.ch>
AuthorDate: Sat May 18 14:02:16 2024 +0200

    fix: retrier
---
 c2ec/db-postgres.go  | 3 +--
 c2ec/proc-retrier.go | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/c2ec/db-postgres.go b/c2ec/db-postgres.go
index 6cd9313..7fa32f6 100644
--- a/c2ec/db-postgres.go
+++ b/c2ec/db-postgres.go
@@ -30,8 +30,7 @@ const PS_REGISTER_WITHDRAWAL_PARAMS = "UPDATE " + 
WITHDRAWAL_TABLE_NAME + " SET
        " WHERE " + WITHDRAWAL_FIELD_NAME_WOPID + "=$4"
 
 const PS_GET_UNCONFIRMED_WITHDRAWALS = "SELECT * FROM " + 
WITHDRAWAL_TABLE_NAME +
-       " WHERE " + WITHDRAWAL_FIELD_NAME_TRANSACTION_ID + " IS NOT NULL" +
-       " AND " + WITHDRAWAL_FIELD_NAME_STATUS + " = '" + string(SELECTED) + "'"
+       " WHERE " + WITHDRAWAL_FIELD_NAME_STATUS + " = '" + string(SELECTED) + 
"'"
 
 const PS_PAYMENT_NOTIFICATION = "UPDATE " + WITHDRAWAL_TABLE_NAME + " SET (" +
        WITHDRAWAL_FIELD_NAME_FEES + "," + WITHDRAWAL_FIELD_NAME_TRANSACTION_ID 
+ "," +
diff --git a/c2ec/proc-retrier.go b/c2ec/proc-retrier.go
index 68e4b22..2aedc05 100644
--- a/c2ec/proc-retrier.go
+++ b/c2ec/proc-retrier.go
@@ -23,6 +23,7 @@ func RunRetrier(ctx context.Context, errs chan error) {
        go func() {
                for {
                        time.Sleep(time.Duration(CONFIG.Server.RetryDelayMs) * 
time.Millisecond)
+                       LogInfo("proc-retrier", "attesting selected 
withdrawals...")
                        withdrawals, err := DB.GetAttestableWithdrawals()
                        if err != nil {
                                LogError("proc-retrier", err)

-- 
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]