Configurable zero pool size in case of newdeploy function (#1121)

It should be possible to keep zero pool size when the environment is created so that there are no idle resources for a newdeploy function. Fixes: https://github.com/fission/fission/issues/1104
This commit is contained in:
Vishal
2019-03-18 15:52:29 +05:30
committed by GitHub
parent 4e4c8aa14f
commit 92d66fa82b
+3
View File
@@ -93,6 +93,9 @@ func envCreate(c *cli.Context) error {
envBuildCmd = "build"
}
}
if c.IsSet("poolsize") {
envVersion = 3
}
keepArchive := c.Bool("keeparchive")