hit-box / hitbox

A high-performance caching framework suitable for single-machine and for distributed applications in Rust
MIT License
73 stars 6 forks source link

Determine when the upstream result is an error (not only actix mailbox error) and cache can return stale data. #20

Closed singulared closed 1 year ago

singulared commented 3 years ago

This task requires extending a CacheableResponse trait with a method for detection error in the upstream result. Btw we need to implement it for some base types such as Result and maybe Option.