some changes to batchtest

This commit is contained in:
Joseph 2023-01-06 11:05:53 -05:00
parent 37f294b6ad
commit 1a94db3d49
No known key found for this signature in database
GPG Key ID: E709789D3076B5CC
3 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,6 @@ DECLARE
DECLARE DECLARE
k INT8; k INT8;
BEGIN BEGIN
--SIMPLE INSERT ON CONFLICT DO NOTHING
transaction_duplicate=TRUE; transaction_duplicate=TRUE;
transaction_duplicate2=TRUE; transaction_duplicate2=TRUE;
out_reserve_found = TRUE; out_reserve_found = TRUE;

View File

@ -267,7 +267,7 @@ BEGIN
END IF; END IF;
k=k+1; k=k+1;
END LOOP; END LOOP;
/**ROLLBACK TRANSACTION IN SOTRED PROCEDURE IS IT PROSSIBLE ?**/
/*IF transaction_duplicate /*IF transaction_duplicate
OR transaction_duplicate2 OR transaction_duplicate2
OR transaction_duplicate3 OR transaction_duplicate3

View File

@ -107,7 +107,7 @@ run (void *cls)
const char *sndr = "payto://x-taler-bank/localhost:8080/1"; const char *sndr = "payto://x-taler-bank/localhost:8080/1";
struct TALER_Amount value; struct TALER_Amount value;
unsigned int batch_size = batches[i]; unsigned int batch_size = batches[i];
unsigned int iterations = 16;//1024*10; unsigned int iterations = 10000;//1024*10;
struct TALER_ReservePublicKeyP reserve_pubs[iterations]; struct TALER_ReservePublicKeyP reserve_pubs[iterations];
struct GNUNET_TIME_Absolute now; struct GNUNET_TIME_Absolute now;
struct GNUNET_TIME_Timestamp ts; struct GNUNET_TIME_Timestamp ts;