make max transfers configurable
This commit is contained in:
@ -70,9 +70,12 @@ struct CommandLine {
|
||||
// ---- TODO ----
|
||||
|
||||
// advaced dl:
|
||||
// -I max_incoming_transfers (default 16)
|
||||
// -O max_outgoing_transfers (default 4)
|
||||
// -I max_incoming_transfers
|
||||
size_t max_incoming_transfers {32};
|
||||
// -O max_outgoing_transfers
|
||||
size_t max_outgoing_transfers {16};
|
||||
// -u request chunks only from UDP-direct peers
|
||||
bool request_only_from_udp_peer {false};
|
||||
|
||||
CommandLine(int argc, char** argv);
|
||||
|
||||
|
Reference in New Issue
Block a user