Update router.ts with suggested change

Signed-off-by: Lavanya Sainik <137502642+lavanya-sainik-ericsson@users.noreply.github.com>
This commit is contained in:
Lavanya Sainik
2024-01-23 09:51:39 +00:00
committed by GitHub
parent 442206eaae
commit 0abf05967d
+1 -1
View File
@@ -262,7 +262,7 @@ export function getDefaultBackstageTokenExpiryTime(config: Config) {
key: processingIntervalKey,
});
const seconds = Math.max(
600,
86400,
Math.round(durationToMilliseconds(duration) / 1000),
);