Skip to content

Commit

Permalink
Revert "Merge branch 'bug/swap' into 'master'"
Browse files Browse the repository at this point in the history
This reverts merge request !94
  • Loading branch information
CMGS committed May 16, 2017
1 parent c289a75 commit f17ab48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/calcium/create_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ func (c *calcium) makeContainerOptions(index int, quota map[string]int, specs ty
} else {
resource = enginecontainer.Resources{
Memory: opts.Memory,
MemorySwap: opts.Memory + 1, // MemorySwap == Memory means unlimited MemorySwap
MemorySwap: opts.Memory,
CPUPeriod: utils.CpuPeriodBase,
CPUQuota: int64(opts.CPUQuota * float64(utils.CpuPeriodBase)),
Ulimits: ulimits,
Expand Down

0 comments on commit f17ab48

Please sign in to comment.