fix comparision

This commit is contained in:
Chirag Aggarwal
2026-01-16 15:30:26 +05:30
parent 407123e09f
commit a35a5262b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function isBuildTimedOut(createdAt: string, status: string, timeoutSeconds: numb
const created = new Date(createdAt);
const elapsedSeconds = Math.floor((Date.now() - created.getTime()) / 1000);
return elapsedSeconds > timeoutSeconds;
return elapsedSeconds >= timeoutSeconds;
}
/**
+1 -1
View File
@@ -15,7 +15,7 @@ function isExecutionTimedOut(createdAt: string, status: string, timeoutSeconds:
const created = new Date(createdAt);
const elapsedSeconds = Math.floor((Date.now() - created.getTime()) / 1000);
return elapsedSeconds > timeoutSeconds;
return elapsedSeconds >= timeoutSeconds;
}
/**