rabbah opened a new pull request #71: Tightens logic so as not to permit 
initialization more than once.
URL: https://github.com/apache/incubator-openwhisk-runtime-nodejs/pull/71
 
 
   Adds a check in the init-handler to report an error if initialization is 
attempted more than once.
   
   Also:
   - Moves state setting out of `doInit` so that all state setting is localized 
to the route handlers.
   - Moves `console.error` messages around so that they appear before the 
sentinel on init and run errors.
   
   @tysonnorris having thought about this in the context of #41, I think we can 
achieve both mode by guarding the check in the run handler but leaving `state` 
otherwise in place.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to