Skip to content

Commit

Permalink
Default GPU count to zero (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpalmer authored Apr 1, 2020
1 parent 64704ec commit 1a2e341
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion configuration/etl/etl_tables.d/jobs/hpcdb/jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@
{
"name": "gpucount",
"type": "int(11)",
"nullable": true
"nullable": false,
"default": 0
},
{
"name": "cpu_req",
Expand Down
3 changes: 2 additions & 1 deletion configuration/etl/etl_tables.d/jobs/shredder/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@
{
"name": "gpu_count",
"type": "int(10) unsigned",
"nullable": false
"nullable": false,
"default": 0
},
{
"name": "cpu_req",
Expand Down
3 changes: 2 additions & 1 deletion configuration/etl/etl_tables.d/jobs/staging/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
{
"name": "gpu_count",
"type": "int(10) unsigned",
"nullable": false
"nullable": false,
"default": 0
},
{
"name": "cpu_req",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/jobs/xdw/job-tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"name": "gpu_count",
"type": "int(11)",
"nullable": false,
"default": -1,
"default": 0,
"comment": "Number of GPUs consumed"
},
{
Expand Down

0 comments on commit 1a2e341

Please sign in to comment.