mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #609
0100e95
'max limit of...' is redundant wording, rephrase (binaryFate)80e3889
Print msg when successfully updating out_peers (binaryFate)
This commit is contained in:
commit
b085fbc667
3 changed files with 4 additions and 2 deletions
|
@ -177,7 +177,7 @@ t_command_server::t_command_server(
|
|||
m_command_lookup.set_handler(
|
||||
"out_peers"
|
||||
, std::bind(&t_command_parser_executor::out_peers, &m_parser, p::_1)
|
||||
, "Set max limit of out peers"
|
||||
, "Set max number of out peers"
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"start_save_graph"
|
||||
|
|
|
@ -964,6 +964,8 @@ bool t_rpc_command_executor::out_peers(uint64_t limit)
|
|||
}
|
||||
}
|
||||
|
||||
std::cout << "Max number of out peers set to " << limit << std::endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace nodetool
|
|||
|
||||
const command_line::arg_descriptor<bool> arg_no_igd = {"no-igd", "Disable UPnP port mapping"};
|
||||
const command_line::arg_descriptor<bool> arg_offline = {"offline", "Do not listen for peers, nor connect to any"};
|
||||
const command_line::arg_descriptor<int64_t> arg_out_peers = {"out-peers", "set max limit of out peers", -1};
|
||||
const command_line::arg_descriptor<int64_t> arg_out_peers = {"out-peers", "set max number of out peers", -1};
|
||||
const command_line::arg_descriptor<int> arg_tos_flag = {"tos-flag", "set TOS flag", -1};
|
||||
|
||||
const command_line::arg_descriptor<int64_t> arg_limit_rate_up = {"limit-rate-up", "set limit-rate-up [kB/s]", -1};
|
||||
|
|
Loading…
Reference in a new issue