Skip to content

Commit c388796

Browse files
committed
fix(analytics): default session update
1 parent ce83e46 commit c388796

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/use-analytics/src/analytics/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const defaultLoadOptions: LoadOptions = {
6262
},
6363
sessions: {
6464
autoTrack: true,
65-
timeout: 500,
65+
// 30 minutes
66+
timeout: 30 * 60 * 1000,
6667
},
6768
} as const

0 commit comments

Comments
 (0)