suborbital / docs

Documentation monorepo for Suborbital projects and products
https://docs.suborbital.dev
Apache License 2.0
8 stars 5 forks source link

The TTL behavior on cache.set is underdocumented #141

Open flaki opened 2 years ago

flaki commented 2 years ago

In the cache docs we only mention that the TTL value should be specified in "seconds". Making this optional would be useful, because the current behavior is somewhat confusing:

Currently the TTL must be specified, and if no TTL expiration is requested it should be specified as 0.