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:
@@ -93,6 +93,9 @@ func envCreate(c *cli.Context) error {
|
|||||||
envBuildCmd = "build"
|
envBuildCmd = "build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if c.IsSet("poolsize") {
|
||||||
|
envVersion = 3
|
||||||
|
}
|
||||||
|
|
||||||
keepArchive := c.Bool("keeparchive")
|
keepArchive := c.Bool("keeparchive")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user