rabbah commented on issue #3232: Making prewarm kind (and count) configurable
URL: 
https://github.com/apache/incubator-openwhisk/pull/3232#issuecomment-374462780
 
 
   Thinking through this a bit more - because it will have breaking changes to 
downstream projects, I think we should do the break change once. Let's move the 
stem cells to the runtime manifest. 
   
   We could do this by adding an additional property for a kind, `stemCells: [ 
{memory, count} ]` since the kind already specifies the image name. The 
invoker's `preWarmConfig` is:
   ```
   case class PrewarmingConfig(count: Int, exec: CodeExec[_], memoryLimit: 
ByteSize)
   ```
   so it is sufficient to add the fields I note above.
   
   
   
   

----------------------------------------------------------------
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