You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/18 16:32:20 UTC

[GitHub] jasonpet opened a new pull request #95: Support for worker assignment on trigger creation

jasonpet opened a new pull request #95: Support for worker assignment on trigger creation
URL: https://github.com/apache/incubator-openwhisk-package-alarms/pull/95
 
 
   Support on the backend already exists to support multiple alarms providers.  Each provider will only fire for the triggers that are assigned to them.  The assignment is configured on the workers property that gets set on trigger creation and is persisted in couchdb.  Previously, this assignment was always being configured to worker0.  However, this PR adds a new optional workers parameter that can be passed into installCatalog.sh that consists of a comma separated string of availableWorkers that can be assigned a new trigger (eg: "worker0,worker1,worker2").  Now on trigger creation the worker (from workers parameter list) that has the least number of currently assigned triggers will be assigned.   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services