Stop saving _timestamp fact
#2 Updated by Michael Brown over 5 years ago
Marek Hulán wrote:
Tested commit from Marek in our environment: https://github.com/ares/foreman/commit/36b39ba7f1dc004a44d7c1f0ef0f1993a18e9519
New facts added successfully. Hoping this can be pulled into the 1.10.4 maintenance release, as we're planning a large rollout based on Foreman 1.10 and Katello 2.4.
Thanks for your help with this Marek!
#5 Updated by Marek Hulán over 3 years ago
- Difficulty set to easy
I think we're still saving _timestamp fact to DB and using :no_timestamp_facts scope for hiding it https://github.com/theforeman/foreman/search?utf8=%E2%9C%93&q=no_timestamp_facts&type=
so this should remain open
#6 Updated by Ohad Levy over 3 years ago
AFAIR we use the timestamp fact as a means to keep the last compile field (https://github.com/theforeman/foreman/blob/develop/app/models/host/base.rb#L151) - I'm not sure if we really use that so ymmv