Skip to content

feat: customizable ttl #426

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

fernandezcuesta
Copy link
Contributor

@fernandezcuesta fernandezcuesta commented May 23, 2025

Description of your changes

Add the ability to set a custom TTL for the function response.

It allows 3 ways to set it up besides the default, from lower to higher precedence:

  • default (current behaviour)
  • as a cli argument (deploymentruntimeconfig)
  • as a function input
  • as an annotation in the XR

Fixes #424

I have:

Signed-off-by: Jesús Fernández <[email protected]>
Signed-off-by: Jesús Fernández <[email protected]>
Signed-off-by: Jesús Fernández <[email protected]>
@@ -14,8 +14,8 @@ on:

env:
# Common versions
GO_VERSION: '1.23.8'
GOLANGCI_VERSION: 'v1.62.0'
GO_VERSION: '1.24.1'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go1.24.3 was a security release so if updating to 1.24, it should be 1.24.3 (or .4 in a couple of days)

Signed-off-by: Jesús Fernández <[email protected]>
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.

Add support for setting the response Meta.TTL
2 participants