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

[#3659] Add configurable cache refresh divisor to adjust cached item refresh time duration #3660

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

harism
Copy link
Contributor

@harism harism commented Oct 7, 2024

Prometheus based limit check does not give any wait time for reading cache misses, utilize the timeouts that Prometheus reads do have internally and use CompletableFuture.get() without explicit timeout to wait and read the cache entry value.

@harism harism requested a review from kaniyan as a code owner October 25, 2024 16:10
@harism harism changed the title [#3659] Fix Prometheus limit check to use read timeout [#3659] Add configurable cache refresh divisor to adjust cached item refresh time duration Oct 27, 2024
@harism
Copy link
Contributor Author

harism commented Oct 27, 2024

Changed this PR as agreed on issue [#3659] comments, and change the refresh time duration divisor configurable instead.

Copy link
Contributor

@sophokles73 sophokles73 left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks for contributing 👍

@sophokles73 sophokles73 merged commit 4de4ad5 into eclipse-hono:master Oct 28, 2024
7 checks passed
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.

2 participants