app/models/import.rb in reso-0.1.4.9 vs app/models/import.rb in reso-0.1.4.10
- old
+ new
@@ -72,9 +72,10 @@
snapshots << [l, l/(Time.now - start_time)]
end
end
end
end_time = Time.now
+ self.update_attribute(:status, :active)
removed_listing_keys = self.remove_listings_not_present(found_listing_keys)
import_result.assign_attributes({
end_time: end_time,
found_listing_keys: found_listing_keys,
removed_listing_keys: removed_listing_keys.inspect