Skip to content

Commit f8d5059

Browse files
iamjr15claude
andcommitted
fix: increase Cloud Run memory to 4GB and CPU to 2 cores
Memory limit of 2GB was being exceeded causing container crashes. Updated both API and worker services to use 4GB memory and 2 CPUs. Also disabled CPU throttling for API for better performance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ed98107 commit f8d5059

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ jobs:
6969
--image=${{ env.REGISTRY }}/${{ env.PROJECT_ID }}/${{ env.REPOSITORY }}/api:latest \
7070
--platform=managed \
7171
--allow-unauthenticated \
72-
--cpu=1 \
73-
--memory=2Gi \
72+
--cpu=2 \
73+
--memory=4Gi \
7474
--timeout=3500 \
7575
--min-instances=0 \
7676
--max-instances=10 \
77-
--cpu-throttling \
77+
--no-cpu-throttling \
7878
--cpu-boost \
7979
--network=default \
8080
--subnet=default \
@@ -91,8 +91,8 @@ jobs:
9191
--image=${{ env.REGISTRY }}/${{ env.PROJECT_ID }}/${{ env.REPOSITORY }}/worker:latest \
9292
--platform=managed \
9393
--no-allow-unauthenticated \
94-
--cpu=1 \
95-
--memory=2Gi \
94+
--cpu=2 \
95+
--memory=4Gi \
9696
--timeout=3500 \
9797
--min-instances=1 \
9898
--max-instances=3 \

0 commit comments

Comments
 (0)