some modif

This commit is contained in:
Joseph 2023-01-04 10:14:12 -05:00
parent 069708205c
commit d1491fb421
No known key found for this signature in database
GPG Key ID: E709789D3076B5CC
3 changed files with 5 additions and 4 deletions

View File

@ -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,

View File

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

View File

@ -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;