Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying a cache period per analyzer #85

Closed
nadouani opened this issue Apr 9, 2018 · 3 comments
Closed

Allow specifying a cache period per analyzer #85

nadouani opened this issue Apr 9, 2018 · 3 comments
Assignees
Milestone

Comments

@nadouani
Copy link
Contributor

nadouani commented Apr 9, 2018

Request Type

Feature Request

Problem Description

In Cortex 2 we have introduced the concept of cache when running analyzers. The case is configurable from the application.conf file and is global to all analyzers.

This issues aims to make the cache customizable, per analyzer, from the UI.

@BrijJhala
Copy link

@nadouani how can we clean cache when api key is changed ? it still picking up from cache even after i changed api key.

@nadouani
Copy link
Contributor Author

Which API key are you referring to? the User's API key or the analyzer's one?

@BrijJhala
Copy link

BrijJhala commented Sep 1, 2020

@nadouani , when analyzer API key is changed. it still fetching from cache. ideally it should clear. Based on codebase cacheTag hash is checking data, type, workerId etc.ideally it should to have api key in hash too.

Not sure any other way to clear cache.
thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants