ManageIQ / inventory_refresh

Apache License 2.0
1 stars 23 forks source link

Use resource version to optimize saving #39

Closed Ladas closed 5 years ago

Ladas commented 6 years ago

Use resource version to optimize saving, if resource_version is present, we will use it for equality checks and we'll not update records having the same resource_version. That way we'll speed up the second+ refresh

miq-bot commented 6 years ago

Checked commits https://github.com/Ladas/inventory_refresh/compare/620ad90578454eaa3ab32609aed6ca2157e2d596~...16b73456d2b605ddea8c74014bb7a270e6a0106b with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 6 files checked, 0 offenses detected Everything looks fine. :star: