We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ead36a commit bccc486Copy full SHA for bccc486
src/workspaceAction.ts
@@ -82,9 +82,9 @@ export class WorkspaceAction {
82
return false
83
}
84
85
- const hourMilli = 1000 * 60 * 60
86
- // return workspaces with a deadline that is in 1 hr or less
87
- return Math.abs(new Date().getTime() - new Date(workspace.latest_build.deadline).getTime()) <= hourMilli
+ const halfHourMilli = 1000 * 60 * 30
+ // return workspaces with a deadline that is in 30 min or less
+ return Math.abs(new Date().getTime() - new Date(workspace.latest_build.deadline).getTime()) <= halfHourMilli
88
89
90
filterWorkspacesImpendingDeletion(workspace: Workspace): workspace is WorkspaceWithDeletingAt {
0 commit comments