Skip to content

fix: archive index caching fast-path should also update moka#3253

Merged
syphar merged 1 commit intorust-lang:mainfrom
syphar:fix-touch-moka
Mar 15, 2026
Merged

fix: archive index caching fast-path should also update moka#3253
syphar merged 1 commit intorust-lang:mainfrom
syphar:fix-touch-moka

Conversation

@syphar
Copy link
Member

@syphar syphar commented Mar 15, 2026

the metrics and some digging made me realize there is a bug in the logic.

Moka makes caching decisions based on how often the index is accessed. And the fast-path didn't touch moka at all.

@syphar syphar self-assigned this Mar 15, 2026
@syphar syphar requested a review from a team as a code owner March 15, 2026 17:51
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Mar 15, 2026
@syphar syphar merged commit 2571350 into rust-lang:main Mar 15, 2026
14 checks passed
@syphar syphar deleted the fix-touch-moka branch March 15, 2026 17:58
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Mar 15, 2026
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Mar 16, 2026
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.

2 participants