openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk-wskdeploy] branch master updated: raise memorySize limit to 2048MB (#1034)
Date Mon, 18 Feb 2019 12:08:04 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new fd77eda  raise memorySize limit to 2048MB (#1034)
fd77eda is described below

commit fd77edab981724bf6ac27951e670a5ad42fc8c6a
Author: TPei <4004343+TPei@users.noreply.github.com>
AuthorDate: Mon Feb 18 13:07:58 2019 +0100

    raise memorySize limit to 2048MB (#1034)
---
 utils/validation.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/validation.go b/utils/validation.go
index b59c5d2..59501c8 100644
--- a/utils/validation.go
+++ b/utils/validation.go
@@ -153,7 +153,7 @@ func LimitsMemoryValidation(memory *int) bool {
 	if memory == nil {
 		return true
 	}
-	if *memory < 128 || *memory > 512 {
+	if *memory < 128 || *memory > 2048 {
 		wskprint.PrintlnOpenWhiskWarning(wski18n.T(wski18n.ID_WARN_LIMITS_MEMORY_SIZE))
 		return false
 	}


Mime
View raw message