diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-wirewatch.c | 4 | ||||
-rw-r--r-- | src/exchangedb/pg_batch2_reserves_in_insert.c | 3 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb_by_j.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c index dcc2672cc..f22c341b8 100644 --- a/src/exchange/taler-exchange-wirewatch.c +++ b/src/exchange/taler-exchange-wirewatch.c @@ -1066,10 +1066,10 @@ history_cb (void *cls, process_reply (reply->details.success.details, reply->details.success.details_length); break; - case 0: + /* case 0: process_reply_batched (reply->details.success.details, reply->details.success.details_length); - break; + break;*/ default: process_reply_batched2 ((unsigned int) batch_mode, reply->details.success.details, diff --git a/src/exchangedb/pg_batch2_reserves_in_insert.c b/src/exchangedb/pg_batch2_reserves_in_insert.c index 34c15d1da..62811f59b 100644 --- a/src/exchangedb/pg_batch2_reserves_in_insert.c +++ b/src/exchangedb/pg_batch2_reserves_in_insert.c @@ -111,7 +111,7 @@ insert1(struct PostgresClosure *pg, if (qs2 < 0) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Failed to create reserves (%d)\n", + "Failed to create reserves 1(%d)\n", qs2); results[0] = qs2; return qs2; @@ -812,6 +812,7 @@ TEH_PG_batch2_reserves_in_insert (void *cls, GNUNET_break (0); return GNUNET_DB_STATUS_HARD_ERROR; } + // fprintf(stdout, "%ld\n", reserve_uuid[i]); need_update |= conflicts[i]; t_duplicate |= transaction_duplicate[i]; diff --git a/src/exchangedb/test_exchangedb_by_j.c b/src/exchangedb/test_exchangedb_by_j.c index 0e42fbe78..9769d964b 100644 --- a/src/exchangedb/test_exchangedb_by_j.c +++ b/src/exchangedb/test_exchangedb_by_j.c @@ -107,7 +107,7 @@ run (void *cls) const char *sndr = "payto://x-taler-bank/localhost:8080/1"; struct TALER_Amount value; unsigned int batch_size = batches[i]; - unsigned int iterations = 200;//1024*10; + unsigned int iterations = 16;//1024*10; struct TALER_ReservePublicKeyP reserve_pubs[iterations]; struct GNUNET_TIME_Absolute now; struct GNUNET_TIME_Timestamp ts; |