Closed philippe44 closed 6 months ago
What aspect do you have doubts about?
The ttl, can it be time() + 90 days?
Yeah, that's an oddity of the caching module...
# "If value is less than 60*60*24*30 (30 days), time is assumed to be
# relative from the present. If larger, it's considered an absolute Unix time."
It could be rewritten as '3M'
. Would be simpler.
So if I write '90days', I'm good then?
Yes, or that.
https://github.com/michaelherger/lms-plugin-tidal/blob/307b77b9cc640429032caebb8ded7285c51a1475/API.pm#L173