-
Notifications
You must be signed in to change notification settings - Fork 898
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache vim_performance_state relations
Fixed bug: It was only loading a single association The MiqPreloader.preload was not properly loading we were having trouble that the reverse relation (assoc.parent) was not being cached Ended up deciding caching the forward and the reverse as the best For running hourly, we do run the realtime first, so make sure this works for running multiple relations for multiple timestamps Had thought a simple association(vps_assoc)&.reset would work, but it threw errors if we looked up an invalid association, so had to filter them with the set logic
- Loading branch information
Showing
2 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters