Skip to content

Commit ab5b823

Browse files
committed
Deploy to 1st gen, 512MB
1 parent ce7f231 commit ab5b823

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pulumi/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ const service = new gcp.cloudrun.Service(
132132
"autoscaling.knative.dev/maxScale": maxScale,
133133

134134
// 2nd generation. Need to specify at least 512MB RAM.
135-
"run.googleapis.com/execution-environment": "gen2",
135+
// Going back to gen1 because faster cold starts
136+
"run.googleapis.com/execution-environment": "gen1",
136137

137138
}
138139
},
@@ -155,7 +156,7 @@ const service = new gcp.cloudrun.Service(
155156
resources: {
156157
limits: {
157158
cpu: "1000m",
158-
memory: "1024Mi",
159+
memory: "512Mi",
159160
}
160161
},
161162
}

0 commit comments

Comments
 (0)