about summary refs log tree commit diff
path: root/src/state/queries/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/queries/index.ts')
-rw-r--r--src/state/queries/index.ts11
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,
+}