summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_reserves.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-29 18:12:30 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-29 18:12:30 +0100
commit10a3b45df075ec974f787783db9afeff09a54c88 (patch)
tree8cb6cf0acf274a3c594980b5331242b537f5c99f /src/backend/taler-merchant-httpd_reserves.c
parent38b8097d94f794287c0dea3fbbe1f80cac46a69f (diff)
downloadmerchant-10a3b45df075ec974f787783db9afeff09a54c88.tar.gz
merchant-10a3b45df075ec974f787783db9afeff09a54c88.tar.bz2
merchant-10a3b45df075ec974f787783db9afeff09a54c88.zip
retry if reserve is so far unknown (404) to merchant, instead of using short timeout that may be too short on some systems
Diffstat (limited to 'src/backend/taler-merchant-httpd_reserves.c')
-rw-r--r--src/backend/taler-merchant-httpd_reserves.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_reserves.c b/src/backend/taler-merchant-httpd_reserves.c
index b05a22aa..2853675f 100644
--- a/src/backend/taler-merchant-httpd_reserves.c
+++ b/src/backend/taler-merchant-httpd_reserves.c
@@ -210,6 +210,12 @@ reserve_cb (void *cls,
"Failed to commit reserve activation to database (%d)\n",
(int) qs);
}
+ else
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Reserve activated with initial balance %s\n",
+ TALER_amount2s (balance));
+ }
free_reserve (r);
}