aksiksi / vaulty

A service that allows users to send email directly to a cloud storage service.
https://vaulty.net
4 stars 0 forks source link

Better handling of cache reads and writes #15

Closed aksiksi closed 4 years ago

aksiksi commented 4 years ago
  1. On read in attachment, clone the cache entry.
  2. Make sure to remove the cache entry at the start of each attachment, if conditions met. This avoids leaking the entry if, for example, the last attachment hits an error.

Also, evaluate storing the Address in the cache. This is related to #14.