On Mon, Oct 02, 2023 at 11:10:42PM +0200, Pablo Neira Ayuso wrote: > I think it is not a good idea to expand a element that has already > expired. There might be another possible corner case: > > Refresh element E1 with timeout X -> not expired yet > Element E1 expires > Refresh element E1 with timeout Y -> already expired, ENOENT. Oh, I see, you mentioned this problem in another email. This actually results in a new element to be added, with my proposal, no ENOENT is ever hit. I get your point, this needs to be sorted out.