Skip to content

Commit e77e255

Browse files
committed
fix max duration to be 24 hours
1 parent e29396f commit e77e255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/_common/monitoring/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { v4 as uuidv4 } from "uuid";
22

33
export const SESSION_TAG = "session";
44
export const SESSION_ID_TAG = "sessionId";
5-
const SESSION_MAX_DURATION_MS = 60 * 1000; // 24 hours in milliseconds
5+
const SESSION_MAX_DURATION_MS = 24 * 60 * 60 * 1000; // 24 hours in milliseconds
66

77
export function getSessionId(): string {
88
let session: { id: string; timestamp: number } | null = null;

0 commit comments

Comments
 (0)