openneuro
openneuro copied to clipboard
Incomplete validation causes cache miss for snapshots
Describe the bug This can be expensive if pages reference content that is normally available from Redis cache in snapshots but the cache is never populated because of pending validation. Instead we should cache a snapshot with pending validation for a shorter period of time to avoid stacking up API requests for one popular snapshot that is missing (or still running) validation.