Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ env:
PYTHON_VERSION: "3.12"

concurrency:
group: household-api-pr
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
lint:
Expand Down
1 change: 1 addition & 0 deletions changelog.d/1522.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increased GCP App Engine maintenance deployment resources to 4 CPU, 16GB memory, and 4 Gunicorn workers.
4 changes: 2 additions & 2 deletions gcp/policyengine_household_api/app.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ service: staging
runtime: custom
env: flex
resources:
cpu: 2
memory_gb: 8
cpu: 4
memory_gb: 16
disk_size_gb: 32
automatic_scaling:
min_num_instances: 1
Expand Down
6 changes: 3 additions & 3 deletions gcp/policyengine_household_api/app.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
runtime: custom
env: flex
resources:
cpu: 2
memory_gb: 8
cpu: 4
memory_gb: 16
disk_size_gb: 32
automatic_scaling:
min_num_instances: 1
Expand All @@ -21,4 +21,4 @@ liveness_check:
check_interval_sec: 30
timeout_sec: 10
failure_threshold: 5
success_threshold: 1
success_threshold: 1
2 changes: 1 addition & 1 deletion gcp/policyengine_household_api/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -e
PORT=${PORT:-8080}

# Start the API
exec gunicorn -b :$PORT policyengine_household_api.api --timeout 300 --workers 2
exec gunicorn -b :$PORT policyengine_household_api.api --timeout 300 --workers 4
Loading