better random init
This commit is contained in:
parent
bf1fa64973
commit
79e3070422
@ -25,7 +25,7 @@ struct ChunkPicker {
|
|||||||
static constexpr size_t max_tf_info_requests {1};
|
static constexpr size_t max_tf_info_requests {1};
|
||||||
static constexpr size_t max_tf_chunk_requests {3};
|
static constexpr size_t max_tf_chunk_requests {3};
|
||||||
|
|
||||||
std::default_random_engine _rng{1337*17};
|
std::default_random_engine _rng{std::random_device{}()};
|
||||||
|
|
||||||
//// max outstanding requests
|
//// max outstanding requests
|
||||||
//// TODO: should this include transfers?
|
//// TODO: should this include transfers?
|
||||||
|
Loading…
Reference in New Issue
Block a user