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

fix(globalpatches): imeplement SharedDict:get_stale API #12233

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

chobits
Copy link
Contributor

@chobits chobits commented Dec 22, 2023

Summary

  1. It implements the get_stale API.
  2. It completes the set API with support for the flags parameter.
  3. It abstracts the is_stale function for reuse.
  4. It does not delete expired data during referring operations.

Checklist

  • The Pull Request has tests
    • using the existent tests to check these apis
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
    • not user-facing modification
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix KAG-3398

1. It implements the `get_stale` API.
2. It completes the `set` API with support for the `flags` parameter.
3. It abstracts the `is_stale` function for reuse.
4. It does not delete expired data during referring operations.

KAG-3398
@chobits chobits force-pushed the cli_shdict_get_stale branch from 3556a5b to 897f411 Compare December 22, 2023 03:20
@fffonion fffonion merged commit 28fcbcb into master Dec 22, 2023
26 checks passed
@fffonion fffonion deleted the cli_shdict_get_stale branch December 22, 2023 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants