fix memory setting in cli, remove MEMORY_MB for now

This commit is contained in:
Reed Allman
2017-08-02 20:24:58 -07:00
parent 3ff28163db
commit 910f6a4b09
2 changed files with 6 additions and 1 deletions

View File

@@ -148,7 +148,8 @@ func (s *Server) serve(ctx context.Context, c *gin.Context, appName string, rout
baseVars["FN_FORMAT"] = route.Format
baseVars["APP_NAME"] = appName
baseVars["ROUTE"] = route.Path
baseVars["MEMORY_MB"] = fmt.Sprintf("%d", route.Memory)
// TODO add this back after #193 #195 (fix async RAM)
// baseVars["MEMORY_MB"] = fmt.Sprintf("%d", route.Memory)
// app config
for k, v := range app.Config {