You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ho...@apache.org on 2018/11/16 15:37:59 UTC

[incubator-openwhisk-client-go] branch master updated: add Concurrency to Limits (#94)

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new deb0008  add Concurrency to Limits (#94)
deb0008 is described below

commit deb000839d59a7ed4a7be3db8bdd51d41cb1f4d4
Author: tysonnorris <ty...@gmail.com>
AuthorDate: Fri Nov 16 07:37:55 2018 -0800

    add Concurrency to Limits (#94)
---
 .gitignore      | 1 +
 whisk/shared.go | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index e2a8d36..dc15adc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Godeps/_workspace
 .idea
+*.iml
\ No newline at end of file
diff --git a/whisk/shared.go b/whisk/shared.go
index 7848026..954b2a4 100644
--- a/whisk/shared.go
+++ b/whisk/shared.go
@@ -94,7 +94,8 @@ type Annotations []map[string]interface{}
 type Parameters *json.RawMessage
 
 type Limits struct {
-	Timeout *int `json:"timeout,omitempty"`
-	Memory  *int `json:"memory,omitempty"`
-	Logsize *int `json:"logs,omitempty"`
+	Timeout     *int `json:"timeout,omitempty"`
+	Memory      *int `json:"memory,omitempty"`
+	Logsize     *int `json:"logs,omitempty"`
+	Concurrency *int `json:"concurrency,omitempty"`
 }