Skip to content

feat: Added task_id-related TTL for cache plugin - #635

Open
DrRebus wants to merge 1 commit into
ovh:masterfrom
DrRebus:rtordjma/plugin-cache-improvement
Open

feat: Added task_id-related TTL for cache plugin#635
DrRebus wants to merge 1 commit into
ovh:masterfrom
DrRebus:rtordjma/plugin-cache-improvement

Conversation

@DrRebus

@DrRebus DrRebus commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    New feature.

  • What is the current behavior? (You can also link to an open issue here)
    Cache entries from the cache plugin can only be expired according to a given date.

  • What is the new behavior (if this is a feature change)?
    When setting a cache value (new or update) using the cache plugin, instead of specifying an expiration date, we can now specify the public ID of a task, making the cache entry live as long as the related task exists.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No: existing cache entries are unaffected and new cache entries can still be created without specifying a task ID

  • Other information:

Signed-off-by: Ruben Tordjman <144785435+DrRebus@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant