Change analytics to 45 days instead of 90 to fix timeout
This commit is contained in:
parent
75a1dfd0e4
commit
c85b806bc1
|
@ -18,7 +18,7 @@ import { getDailyNewUsers } from 'web/lib/firebase/users'
|
|||
|
||||
export const getStaticProps = fromPropz(getStaticPropz)
|
||||
export async function getStaticPropz() {
|
||||
const numberOfDays = 90
|
||||
const numberOfDays = 45
|
||||
const today = dayjs(dayjs().format('YYYY-MM-DD'))
|
||||
const startDate = today.subtract(numberOfDays, 'day')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user