some changes to batchtest
This commit is contained in:
parent
37f294b6ad
commit
1a94db3d49
@ -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;
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user