Complete ring buffer and direct download support #26
This commit is contained in:
parent
1c2d2cd13c
commit
3c659e57ec
@ -62,7 +62,7 @@ auto direct_open_file::read(std::size_t read_size, std::uint64_t read_offset,
|
|||||||
auto progress = (static_cast<double>(read_offset + read_size) /
|
auto progress = (static_cast<double>(read_offset + read_size) /
|
||||||
static_cast<double>(fsi_.size) * 100.0);
|
static_cast<double>(fsi_.size) * 100.0);
|
||||||
event_system::instance().raise<download_progress>(
|
event_system::instance().raise<download_progress>(
|
||||||
fsi_.api_path, fsi_.source_path_, progress);
|
fsi_.api_path, fsi_.source_path, progress);
|
||||||
}
|
}
|
||||||
reset_timeout();
|
reset_timeout();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user