-remove linger
This commit is contained in:
parent
0698835fed
commit
1e5976a3e9
@ -13,7 +13,9 @@ PORT=8081
|
|||||||
MASTER_PUBLIC_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
|
MASTER_PUBLIC_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
|
||||||
DB=postgres
|
DB=postgres
|
||||||
BASE_URL="http://localhost:8081/"
|
BASE_URL="http://localhost:8081/"
|
||||||
AGGREGATOR_SHARD_SIZE=67108864
|
# Only set this option if you are actually running
|
||||||
|
# multiple aggregators!
|
||||||
|
# AGGREGATOR_SHARD_SIZE=67108864
|
||||||
WIREWATCH_IDLE_SLEEP_INTERVAL=5 ms
|
WIREWATCH_IDLE_SLEEP_INTERVAL=5 ms
|
||||||
|
|
||||||
[exchangedb-postgres]
|
[exchangedb-postgres]
|
||||||
|
@ -124,11 +124,6 @@ static unsigned int label_len;
|
|||||||
*/
|
*/
|
||||||
static unsigned int label_off;
|
static unsigned int label_off;
|
||||||
|
|
||||||
/**
|
|
||||||
* Linger around until stop is requested by the user explicitly by key stroke.
|
|
||||||
*/
|
|
||||||
static int linger;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Performance counters.
|
* Performance counters.
|
||||||
*/
|
*/
|
||||||
@ -465,11 +460,6 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (GNUNET_YES == linger)
|
|
||||||
{
|
|
||||||
printf ("press ENTER to stop\n");
|
|
||||||
(void) getchar ();
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -491,8 +481,24 @@ main (int argc,
|
|||||||
&cfg_filename)),
|
&cfg_filename)),
|
||||||
GNUNET_GETOPT_option_version (
|
GNUNET_GETOPT_option_version (
|
||||||
PACKAGE_VERSION " " VCS_VERSION),
|
PACKAGE_VERSION " " VCS_VERSION),
|
||||||
|
GNUNET_GETOPT_option_flag (
|
||||||
|
'f',
|
||||||
|
"fakebank",
|
||||||
|
"use fakebank for the banking system",
|
||||||
|
&use_fakebank),
|
||||||
|
GNUNET_GETOPT_option_flag (
|
||||||
|
'F',
|
||||||
|
"reserves-first",
|
||||||
|
"should all reserves be created first, before starting normal operations",
|
||||||
|
&reserves_first),
|
||||||
GNUNET_GETOPT_option_help (
|
GNUNET_GETOPT_option_help (
|
||||||
"Exchange benchmark"),
|
"Exchange benchmark"),
|
||||||
|
GNUNET_GETOPT_option_string (
|
||||||
|
'l',
|
||||||
|
"logfile",
|
||||||
|
"LF",
|
||||||
|
"will log to file LF",
|
||||||
|
&logfile),
|
||||||
GNUNET_GETOPT_option_loglevel (
|
GNUNET_GETOPT_option_loglevel (
|
||||||
&loglev),
|
&loglev),
|
||||||
GNUNET_GETOPT_option_uint (
|
GNUNET_GETOPT_option_uint (
|
||||||
@ -519,33 +525,12 @@ main (int argc,
|
|||||||
"RATE",
|
"RATE",
|
||||||
"Probability of refresh per coin (0-100)",
|
"Probability of refresh per coin (0-100)",
|
||||||
&refresh_rate),
|
&refresh_rate),
|
||||||
GNUNET_GETOPT_option_string (
|
|
||||||
'l',
|
|
||||||
"logfile",
|
|
||||||
"LF",
|
|
||||||
"will log to file LF",
|
|
||||||
&logfile),
|
|
||||||
GNUNET_GETOPT_option_string (
|
GNUNET_GETOPT_option_string (
|
||||||
'u',
|
'u',
|
||||||
"exchange-account-section",
|
"exchange-account-section",
|
||||||
"SECTION",
|
"SECTION",
|
||||||
"use exchange bank account configuration from the given SECTION",
|
"use exchange bank account configuration from the given SECTION",
|
||||||
&exchange_bank_section),
|
&exchange_bank_section),
|
||||||
GNUNET_GETOPT_option_flag (
|
|
||||||
'f',
|
|
||||||
"fakebank",
|
|
||||||
"use fakebank for the banking system",
|
|
||||||
&use_fakebank),
|
|
||||||
GNUNET_GETOPT_option_flag (
|
|
||||||
'F',
|
|
||||||
"reserves-first",
|
|
||||||
"should all reserves be created first, before starting normal operations",
|
|
||||||
&reserves_first),
|
|
||||||
GNUNET_GETOPT_option_flag (
|
|
||||||
'K',
|
|
||||||
"linger",
|
|
||||||
"linger around until key press",
|
|
||||||
&linger),
|
|
||||||
GNUNET_GETOPT_OPTION_END
|
GNUNET_GETOPT_OPTION_END
|
||||||
};
|
};
|
||||||
enum GNUNET_GenericReturnValue result;
|
enum GNUNET_GenericReturnValue result;
|
||||||
|
@ -72,7 +72,6 @@ aggregator_run (void *cls,
|
|||||||
"taler-exchange-aggregator",
|
"taler-exchange-aggregator",
|
||||||
"taler-exchange-aggregator",
|
"taler-exchange-aggregator",
|
||||||
"-c", as->config_filename,
|
"-c", as->config_filename,
|
||||||
"-L", "INFO",
|
|
||||||
"-t", /* exit when done */
|
"-t", /* exit when done */
|
||||||
(as->kyc_on)
|
(as->kyc_on)
|
||||||
? NULL
|
? NULL
|
||||||
|
@ -67,7 +67,6 @@ transfer_run (void *cls,
|
|||||||
"taler-exchange-transfer",
|
"taler-exchange-transfer",
|
||||||
"taler-exchange-transfer",
|
"taler-exchange-transfer",
|
||||||
"-c", as->config_filename,
|
"-c", as->config_filename,
|
||||||
"-L", "INFO",
|
|
||||||
"-S", "1",
|
"-S", "1",
|
||||||
"-w", "0",
|
"-w", "0",
|
||||||
"-t", /* exit when done */
|
"-t", /* exit when done */
|
||||||
|
@ -75,7 +75,6 @@ wirewatch_run (void *cls,
|
|||||||
"-S", "1",
|
"-S", "1",
|
||||||
"-w", "0",
|
"-w", "0",
|
||||||
"-t", /* exit when done */
|
"-t", /* exit when done */
|
||||||
"-L", "DEBUG",
|
|
||||||
(NULL == ws->account_section)
|
(NULL == ws->account_section)
|
||||||
? NULL
|
? NULL
|
||||||
: "-a",
|
: "-a",
|
||||||
|
Loading…
Reference in New Issue
Block a user