Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/lastore-daemon/manager_ifc.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,6 @@ func (m *Manager) QueryAllSizeWithSource(mode system.UpdateType) (int64, *dbus.E
logger.Infof("%v size is:%v M", strings.Join(sourcePathList, " and "), int64(allSize/(1000*1000)))
}

// TODO: Currently, just use half of the original size. This needs to be improved in the future.
if m.config.IncrementalUpdate {
allSize = allSize / 2
}

return int64(allSize), dbusutil.ToError(err)
}

Expand Down
Loading