Skip to main content

Module ttl

Module ttl 

Source
Expand description

Query time-to-live (packages/zql/src/query/ttl.ts).

Enums§

Ttl
How long a query stays cached after its last use.

Constants§

DEFAULT_TTL_MILLISECONDS
The TTL a query gets when it doesn’t name one: five minutes.
MAX_TTL_MILLISECONDS
The longest TTL the server keeps a query for: ten minutes.