gnunet-svn
[Top][All Lists]
Advanced

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

[taler-cashless2ecash] branch master updated: feat: retry mechanism


From: gnunet
Subject: [taler-cashless2ecash] branch master updated: feat: retry mechanism
Date: Mon, 15 Apr 2024 23:24:02 +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 dc1ef32  feat: retry mechanism
dc1ef32 is described below

commit dc1ef32a87c72a0311934bbcf07ee55de84d7a1c
Author: Joel-Haeberli <haebu@rubigen.ch>
AuthorDate: Mon Apr 15 23:23:56 2024 +0200

    feat: retry mechanism
---
 c2ec/main.go    | 9 +++++----
 c2ec/retrier.go | 2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/c2ec/main.go b/c2ec/main.go
index 839408f..bc69a96 100644
--- a/c2ec/main.go
+++ b/c2ec/main.go
@@ -37,10 +37,11 @@ var PROVIDER_CLIENTS = map[string]ProviderClient{}
 //  1. load configuration or panic
 //  2. setup database or panic
 //  3. setup provider clients
-//  4. setup attestor
-//  5. setup routes for the bank-integration-api
-//  6. setup routes for the wire-gateway-api
-//  7. listen for incoming requests (as specified in config)
+//  4. setup retrier
+//  5. setup attestor
+//  6. setup routes for the bank-integration-api
+//  7. setup routes for the wire-gateway-api
+//  8. listen for incoming requests (as specified in config)
 func main() {
 
        LogInfo("main", fmt.Sprintf("starting c2ec at %s", 
time.Now().Format(time.UnixDate)))
diff --git a/c2ec/retrier.go b/c2ec/retrier.go
index 8124a29..bab148f 100644
--- a/c2ec/retrier.go
+++ b/c2ec/retrier.go
@@ -26,7 +26,7 @@ func RunRetrier(ctx context.Context, errs chan error) {
 
 func retryCallback(ctx context.Context, notifications chan *Notification, errs 
chan error) {
 
-       listener, err := NewListener(PS_PAYMENT_NOTIFICATION_CHANNEL, 
notifications)
+       listener, err := NewListener(PS_RETRY_CHANNEL, notifications)
        if err != nil {
                LogError("retrier", err)
                errs <- errors.New("retrier needs to be setup first")

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