Skip to content

Commit

Permalink
Merge pull request #3706 from simplesurance/revert_min_cpu_limit_change
Browse files Browse the repository at this point in the history
revert change to increase min. CPU resource value from 20 to 100
  • Loading branch information
preetapan committed Jan 3, 2018
2 parents d29f877 + 957712c commit e0f84fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func DefaultResources() *Resources {
// IN nomad/structs/structs.go and should be kept in sync.
func MinResources() *Resources {
return &Resources{
CPU: helper.IntToPtr(100),
CPU: helper.IntToPtr(20),
MemoryMB: helper.IntToPtr(10),
IOPS: helper.IntToPtr(0),
}
Expand Down
2 changes: 1 addition & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ func DefaultResources() *Resources {
// api/resources.go and should be kept in sync.
func MinResources() *Resources {
return &Resources{
CPU: 100,
CPU: 20,
MemoryMB: 10,
IOPS: 0,
}
Expand Down

1 comment on commit e0f84fc

@DarkoDoko
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reverting this. Updating from 0.7.0 to 0.7.1 broke most of our jobs

Please sign in to comment.