with to_timeout we can replace eg. @default_cache_ttl 1_000 * 60 * 60 with @default_cache_ttl to_timeout(hour: 1)
@default_cache_ttl 1_000 * 60 * 60
@default_cache_ttl to_timeout(hour: 1)
it allows more flexible and readable code:
> to_timeout(day: 1, hour: 6, minute: 30) 5400000