Currently the MFGUI backend holds an in-memory cache of available tags for runs due to these being very heavy to query a unique set of on deployments with large amounts of runs. The cache is invalidated once every 5 minutes, making the list of tags sometimes stale.
This is especially apparent when a Flow is executed for the first time with a unique set of tags. It takes the cache TTL for the new tags to be available for filtering purposes
Goals
- Verify the issue on a local setup
- Propose a solution for keeping the tag cache as up-to-date as possible, without a performance penalty.
Instructions
This issue is meant to be a venue for asking further questions on the topic. Implementation details and proposals are to be kept separate.
When you have met the goals of the issue, it is time to show and tell.
You can do this for example with your own fork with an issue or pull request and messaging a mentor on Slack with a link.
Currently the MFGUI backend holds an in-memory cache of available tags for runs due to these being very heavy to query a unique set of on deployments with large amounts of runs. The cache is invalidated once every 5 minutes, making the list of tags sometimes stale.
This is especially apparent when a Flow is executed for the first time with a unique set of tags. It takes the cache TTL for the new tags to be available for filtering purposes
Goals
Instructions
This issue is meant to be a venue for asking further questions on the topic. Implementation details and proposals are to be kept separate.
When you have met the goals of the issue, it is time to show and tell.
You can do this for example with your own fork with an issue or pull request and messaging a mentor on Slack with a link.