aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/config.go b/actions/config.go
index 7884bed..6bc5239 100644
--- a/actions/config.go
+++ b/actions/config.go
@@ -210,7 +210,7 @@ func memoryBytesLimit() int64 {
util.NeverError(err)
totalRAMBytes := int64(info.Totalram)
- return util.MinInt64(totalRAMBytes / 2, maxMemoryBytes)
+ return util.MinInt64(totalRAMBytes/2, maxMemoryBytes)
}
// betweenCosts returns a cost between a and b. Specifically, it returns the