8000 set ttlAutopurge to true as ttl is set for codemirror prometheus client cache by jgbernalp · Pull Request #16024 · prometheus/prometheus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

set ttlAutopurge to true as ttl is set for codemirror prometheus client cache #16024

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

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

jgbernalp
Copy link
Contributor

This PR sets the ttlAutopurge option to true as a ttl is provided. Follows the lru-cache documentation: https://github.com/isaacs/node-lru-cache/blob/65c9971e3fef123ff0f17d67add53b2d99b461b0/src/index.ts#L698

Fixes #16023

…nt cache

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
@Nexucis Nexucis enabled auto-merge (squash) February 12, 2025 14:57
@Nexucis Nexucis merged commit a323c23 into prometheus:main Feb 12, 2025
26 checks passed
kylestang pushed a commit to kylestang/prometheus that referenced this pull request Feb 12, 2025
…nt cache (prometheus#16024)

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
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.

lru cache throws a warning because the ttlAutopurge option is set to false in codemirror-promql
2 participants
0