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 a cache corruption issue during revalidation #476

Merged
merged 1 commit into from
Jan 31, 2024

Commits on Jan 31, 2024

  1. Fix a cache corruption issue during revalidation

    Fix: #474
    Fix: #471
    
    As noticed by Stan Hu, upon revalidation, we'd corrupt the
    `data_size` field, as it wasn't initialized at all on the
    cache key we computed from the source file.
    
    The only thing we actually want to update is the `mtime`.
    
    Co-Authored-By: Stan Hu <stanhu@gmail.com>
    byroot and stanhu committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    ad189d1 View commit details
    Browse the repository at this point in the history