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

Support for expiry on storage items and hash keys #350

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

tom-binary
Copy link
Contributor

New storage methods for key and hash key expiry:

  • expire - marks this item (any type) for expiry after the given number of seconds, use -1 to expire immediately and 0 to disable expiry (keep it forever)
  • hash_expire - marks this hash key for expiry, as above use -1 to expire immediately and 0 to mark as persistent; hash keys can be provided as a single value or an arrayref of values

@tom-binary tom-binary merged commit 3ed1a6e into deriv-com:master Oct 20, 2024
1 check passed
@tom-binary tom-binary deleted the feature/expiry branch October 20, 2024 13:54
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