about summary refs log tree commit diff
path: root/src/state/queries/app-passwords.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/queries/app-passwords.ts')
-rw-r--r--src/state/queries/app-passwords.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/queries/app-passwords.ts b/src/state/queries/app-passwords.ts
index 6a7e43610..4b9e09a8d 100644
--- a/src/state/queries/app-passwords.ts
+++ b/src/state/queries/app-passwords.ts
@@ -8,7 +8,8 @@ export const RQKEY = () => ['app-passwords']
 
 export function useAppPasswordsQuery() {
   return useQuery({
-    staleTime: STALE.MINUTES.ONE,
+    staleTime: STALE.MINUTES.FIVE,
+    refetchInterval: STALE.MINUTES.ONE,
     queryKey: RQKEY(),
     queryFn: async () => {
       const res = await getAgent().com.atproto.server.listAppPasswords({})