I’m looking at someone’s code and they have something like this
def concache_sup(name, opts \\ []) do
Supervisor.child_spec(
{
ConCache,
[
name: name,
ttl_check_interval: 10_000,
global_ttl: 60_000,
touch_on_read: true
]
},
id: {ConCache, name}
)
end
What is the unit for global_ttl? 60,000 milliseconds? And is that the time how long the cache lasts?