Skip to content

Commit 746ed74

Browse files
authored
update grace period (opendatahub-io#6022)
1 parent 548fb54 commit 746ed74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/llmd-serving/src/deployments

packages/llmd-serving/src/deployments/status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const calculateGracePeriod = (lastActivity?: Date): boolean => {
117117
return false;
118118
}
119119
const now = Date.now();
120-
const idleTime = new Date(lastActivity).setSeconds(lastActivity.getSeconds() + 180);
120+
const idleTime = new Date(lastActivity).setSeconds(lastActivity.getSeconds() + 600);
121121
// Return true if we're still within grace period
122122
return idleTime - now > 0;
123123
};

0 commit comments

Comments
 (0)