diff options
Diffstat (limited to 'src/state/queries/index.ts')
-rw-r--r-- | src/state/queries/index.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/state/queries/index.ts b/src/state/queries/index.ts index ae3d1595c..affebb907 100644 --- a/src/state/queries/index.ts +++ b/src/state/queries/index.ts @@ -3,3 +3,14 @@ import {BskyAgent} from '@atproto/api' export const PUBLIC_BSKY_AGENT = new BskyAgent({ service: 'https://api.bsky.app', }) + +export const STALE = { + MINUTES: { + ONE: 1e3 * 60, + FIVE: 1e3 * 60 * 5, + }, + HOURS: { + ONE: 1e3 * 60 * 60, + }, + INFINITY: Infinity, +} |