Skip to content

Conversation

@smaheshwar-pltr
Copy link
Contributor

@smaheshwar-pltr smaheshwar-pltr commented Mar 10, 2025

The StorageCredentialCache currently uses a custom Expiry. I think that this works correctly.

IMHO using a built-in one that Caffeine provides, like Expiry.writing reads better - this is what this PR proposes.

@smaheshwar-pltr smaheshwar-pltr changed the title Update storage credential cache expiration on value replacement Use Caffeine's Expiry.writing for StorageCredentialCache Mar 10, 2025
@smaheshwar-pltr smaheshwar-pltr changed the title Use Caffeine's Expiry.writing for StorageCredentialCache Use Caffeine's Expiry.writing for StorageCredentialCache Mar 10, 2025
@smaheshwar-pltr smaheshwar-pltr changed the title Use Caffeine's Expiry.writing for StorageCredentialCache Use Caffeine's Expiry.creating for StorageCredentialCache Mar 12, 2025
Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @smaheshwar-pltr !

This is a nice code clarification 👍

@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Mar 12, 2025
@dimas-b
Copy link
Contributor

dimas-b commented Mar 12, 2025

@collado-mike @eric-maynard WDYT?

@dimas-b dimas-b merged commit 664f230 into apache:main Mar 12, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Mar 12, 2025
@smaheshwar-pltr smaheshwar-pltr deleted the sreesh/other branch March 12, 2025 23:52
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.

3 participants