diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-11 17:04:54 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-11 17:04:54 +0200 |
commit | 0580168c0e546a7a224c1e9f19e7b526f84cfa2a (patch) | |
tree | 8bf9c3d24b34670270996004c0e4aa12ffb60287 /src/exchangedb | |
parent | ba17729f6568efab7cacfc292670169437cbbda8 (diff) | |
download | exchange-0580168c0e546a7a224c1e9f19e7b526f84cfa2a.tar.xz |
automated refunds of expired reserves now work and tested, fixes #4956
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 929d982f8..2eac21ca7 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -2087,6 +2087,11 @@ postgres_reserves_in_insert (void *cls, */ } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Creating reserve %s with expiration in %s\n", + TALER_B2S (reserve_pub), + GNUNET_STRINGS_relative_time_to_string (pg->idle_reserve_expiration_time, + GNUNET_NO)); expiry = GNUNET_TIME_absolute_add (execution_time, pg->idle_reserve_expiration_time); if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == reserve_exists) |