1
0
forked from Yara724/api

YARA-1045

This commit is contained in:
SepehrYahyaee
2026-06-23 13:31:04 +03:30
parent e2b879d943
commit cca3ed01a4
5 changed files with 40 additions and 30 deletions

View File

@@ -0,0 +1,8 @@
/** Expert blame/claim review assign + workflow lock TTL (POST assign, PUT lock). */
export const EXPERT_WORKFLOW_LOCK_TTL_MS = 30 * 60 * 1000;
export function expertWorkflowLockExpiredAt(
from: Date = new Date(),
): Date {
return new Date(from.getTime() + EXPERT_WORKFLOW_LOCK_TTL_MS);
}