Fix set_download_limit.

GitOrigin-RevId: 4f4e77bde657d6586ffbe861e1affc6b3c14d4a2
This commit is contained in:
levlam 2019-02-27 00:42:54 +03:00
parent bb5ffc0c8c
commit 0bf5825c01

View File

@ -166,8 +166,10 @@ void FileNode::set_download_limit(int64 download_limit) {
return;
}
VLOG(update_file) << "File " << main_file_id_ << " has changed download_limit from " << download_limit_ << " to "
<< download_limit;
download_limit_ = download_limit;
is_download_offset_dirty_ = true;
is_download_limit_dirty_ = true;
}
void FileNode::drop_local_location() {