Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Feature/cache op results #2

Merged
merged 2 commits into from
Feb 1, 2020
Merged

Feature/cache op results #2

merged 2 commits into from
Feb 1, 2020

Conversation

delucca
Copy link
Collaborator

@delucca delucca commented Feb 1, 2020

No description provided.

odelucca added 2 commits January 31, 2020 21:34
To cache op list-items results I must first create a file everytime I get any
return from the command itself.

On this commit, I am creating the logic to save the return from op list-items
into a given file for further usage.

Now, I just need to add the logic to fetch from this file instead, if the file
is new enought.
Now that I can cache the op list-items result, I need to use the cache instead
of getting it online, if it exists. It is important to have a TTL on the cache
file too.

On this commit I'm going to add the logic to use the cache file (if applicable)
and also create a rule to use it only when the cache is recent.

Now, I've finished the feature and can start using it.
@delucca delucca merged commit aaa3b41 into master Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant