1
0
forked from baron/baron-sso

세션 만료 임계값 5분->10분 조정

This commit is contained in:
2026-05-07 13:43:24 +09:00
parent 5ee9a46663
commit 94db1dab08
3 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import {
describe("shouldAttemptSlidingSessionRenew", () => {
const nowMs = 1_700_000_000_000;
it("returns false when remaining time is above the 5 minute threshold", () => {
it("returns false when remaining time is above the 10 minute threshold", () => {
expect(
shouldAttemptSlidingSessionRenew({
expiresAtSec: Math.floor(
@@ -24,7 +24,7 @@ describe("shouldAttemptSlidingSessionRenew", () => {
).toBe(false);
});
it("returns true when remaining time is within the 5 minute threshold", () => {
it("returns true when remaining time is within the 10 minute threshold", () => {
expect(
shouldAttemptSlidingSessionRenew({
expiresAtSec: Math.floor(

View File

@@ -1,4 +1,4 @@
export const SESSION_RENEW_THRESHOLD_MS = 5 * 60 * 1000;
export const SESSION_RENEW_THRESHOLD_MS = 10 * 60 * 1000;
export const SESSION_RENEW_THROTTLE_MS = 30 * 1000;
type SlidingSessionRenewDecisionParams = {

View File

@@ -1,4 +1,4 @@
export const SESSION_RENEW_THRESHOLD_MS = 5 * 60 * 1000;
export const SESSION_RENEW_THRESHOLD_MS = 10 * 60 * 1000;
export const SESSION_RENEW_THROTTLE_MS = 30 * 1000;
type SlidingSessionRenewDecisionParams = {