You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/09/03 05:50:21 UTC

[GitHub] [openwhisk] chetanmeh opened a new pull request #4603: Add dev mode flag to speed up startup during development

chetanmeh opened a new pull request #4603: Add dev mode flag to speed up startup during development
URL: https://github.com/apache/openwhisk/pull/4603
 
 
   Reduces startup in dev mode from ~ 12-14 secs to ~7 secs
   
   ## Description
   Currently the base standalone server starts in ~ 12-14 seconds. Some of this time is spent in pre flight checks and doing explicit pulls for some of the images used. This is useful for end user so as to ensure that system has required support.
   
   However for regular development it adds up to startup time. So added a `--dev-mode` flag which disables the preflight checks and disabled explicit pulls. This should be fine for people developing on core codebase.
   
   ```
   java -jar openwhisk-standalone.jar --dev-mode
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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