8000 feat(replay): Change `MAX_SESSION_LIFE` to 1 hour (#6561) · danieliu/sentry-javascript@90198b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 90198b1

Browse files
authored
feat(replay): Change MAX_SESSION_LIFE to 1 hour (getsentry#6561)
1 parent 5961a96 commit 90198b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const SESSION_IDLE_DURATION = 300_000; // 5 minutes in ms
1818
export const VISIBILITY_CHANGE_TIMEOUT = SESSION_IDLE_DURATION;
1919

2020
// The maximum length of a session
21-
export const MAX_SESSION_LIFE = 1_800_000; // 30 minutes
21+
export const MAX_SESSION_LIFE = 3_600_000; // 60 minutes
2222

2323
/**
2424
* Defaults for sampling rates

0 commit comments

Comments
 (0)
0