Skip to content

Commit

Permalink
Merge pull request #18 from Chiggins/task-time-default
Browse files Browse the repository at this point in the history
Added default time limit of 48 hours to tasks
  • Loading branch information
tankbusta authored Apr 5, 2020
2 parents 2cf7013 + 49b0bdd commit 0900810
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/components/CreateTask/TimeLimitInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
import { chCompValidator } from '@/mixins'
export default {
mixins: [chCompValidator]
mixins: [chCompValidator],
data () {
return {
text: '172,800'
}
}
}
</script>
2 changes: 1 addition & 1 deletion src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"description_users": "Users that will receive emails when passwords crack and who will have access to this task via this web interface.",
"description_priority": "Relative priority of this task. Used to allocate GPUs and to prioritize tasks on the queue when necessary. If using a Higher priority, you may want to indicate why in the comment field.",
"taskTimeLimit": "Runtime Limit",
"taskTimeLimit_description": "The total runtime in seconds this job is allowed to run before it is automatically stopped",
"taskTimeLimit_description": "The total runtime in seconds this job is allowed to run before it is automatically stopped. (default is 172,800 seconds, or 48 hours)",
"error_taskTimeLimit": "The time limit must be expressed as an integer (in seconds)",
"error_casecode": "The Case Code is required and must be at least 4 characters",
"error_taskname": "The Task Name is required and must be at least 10 characters",
Expand Down

0 comments on commit 0900810

Please sign in to comment.