mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-14 20:12:29 -04:00
fixed default chunk strategy value (uninitialized)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3778 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c00e11ed2b
commit
9397491634
2 changed files with 4 additions and 3 deletions
|
@ -121,8 +121,8 @@ class ChunkMap
|
|||
|
||||
/// Decides how chunks are selected.
|
||||
/// STREAMING: the 1st chunk is always returned
|
||||
/// RANDOM: the beginning of a random interval is selected first. If two few intervals
|
||||
/// exist, the largest one is randomly split into two.
|
||||
/// RANDOM: a uniformly random chunk is selected among available chunks for the current source.
|
||||
///
|
||||
|
||||
void setStrategy(FileChunksInfo::ChunkStrategy s) { _strategy = s ; }
|
||||
FileChunksInfo::ChunkStrategy getStrategy() const { return _strategy ; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue