[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: add notification to wake up tale
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: add notification to wake up taler-merchant-exchange |
Date: |
Wed, 03 May 2023 22:22:24 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 63960574 add notification to wake up taler-merchant-exchange
63960574 is described below
commit 63960574154ca1615fb095a71b958ec5d00df4ae
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed May 3 22:22:20 2023 +0200
add notification to wake up taler-merchant-exchange
---
src/backend/taler-merchant-httpd_private-post-transfers.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-transfers.c
b/src/backend/taler-merchant-httpd_private-post-transfers.c
index 4a324b6a..af1ca844 100644
--- a/src/backend/taler-merchant-httpd_private-post-transfers.c
+++ b/src/backend/taler-merchant-httpd_private-post-transfers.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- (C) 2014-2022 Taler Systems SA
+ (C) 2014-2023 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software
@@ -23,11 +23,11 @@
#include <jansson.h>
#include <taler/taler_signatures.h>
#include <taler/taler_json_lib.h>
+#include <taler/taler_dbevents.h>
#include "taler-merchant-httpd_exchanges.h"
#include "taler-merchant-httpd_helper.h"
#include "taler-merchant-httpd_private-post-transfers.h"
-
/**
* How long to wait before giving up processing with the exchange?
*/
@@ -1083,6 +1083,17 @@ TMH_private_post_transfers (const struct
TMH_RequestHandler *rh,
TALER_EC_GENERIC_DB_STORE_FAILED,
"not unique");
case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
+ {
+ struct GNUNET_DB_EventHeaderP es = {
+ .size = htons (sizeof (es)),
+ .type = htons (TALER_DBEVENT_MERCHANT_WIRE_TRANSFER_CONFIRMED)
+ };
+
+ TMH_db->event_notify (TMH_db->cls,
+ &es,
+ NULL,
+ 0);
+ }
break;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: add notification to wake up taler-merchant-exchange,
gnunet <=