Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 21, 2024
1 parent 880d543 commit 59885b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions next-enterprise/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ import type {NextConfig} from 'next'
const nextConfig: NextConfig = {
experimental: {
dynamicIO: true,
cacheLife: {
default: {
stale: undefined,
revalidate: 60 * 60 * 24 * 30, // 1 month, the default is 15 minutes
expire: 0xfffffffe,
},
},
},
}

Expand Down
2 changes: 1 addition & 1 deletion next-enterprise/src/app/SanityLive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function SanityLive() {
if (signal.aborted) return
router.refresh()
console.log('<SanityLive> refreshing')
}, 1_000)
}, 3_000)
} else if (event.type === 'restart') {
router.refresh()
}
Expand Down
2 changes: 1 addition & 1 deletion next-enterprise/src/sanity/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import {createClient} from '@sanity/client'
export const client = createClient({
projectId: 'hiomol4a',
dataset: 'lcapi',
apiVersion: '2024-09-18',
apiVersion: '2024-09-19',
useCdn: false,
})

0 comments on commit 59885b1

Please sign in to comment.