Skip to content

Commit

Permalink
ci: performance tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense committed Aug 30, 2024
1 parent f7fc175 commit 87bdaf4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions infra/docker/selfserve/php-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ pm.max_children = 80
; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic'
; Default Value: (min_spare_servers + max_spare_servers) / 2
pm.start_servers = 64
pm.start_servers = 8

; The desired minimum number of idle server processes.
; Note: Used only when pm is set to 'dynamic'
; Note: Mandatory when pm is set to 'dynamic'
pm.min_spare_servers = 24
pm.min_spare_servers = 4

; The desired maximum number of idle server processes.
; Note: Used only when pm is set to 'dynamic'
; Note: Mandatory when pm is set to 'dynamic'
pm.max_spare_servers = 64
pm.max_spare_servers = 8
6 changes: 3 additions & 3 deletions infra/terraform/environments/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module "service" {

services = {
"api" = {
cpu = 1024
cpu = 2048
memory = 4096

version = var.api_image_tag
Expand All @@ -168,7 +168,7 @@ module "service" {
}

"internal" = {
cpu = 1024
cpu = 2048
memory = 4096

version = var.internal_image_tag
Expand Down Expand Up @@ -208,7 +208,7 @@ module "service" {
}

"selfserve" = {
cpu = 1024
cpu = 2048
memory = 4096

version = var.selfserve_image_tag
Expand Down
6 changes: 3 additions & 3 deletions infra/terraform/environments/int/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module "service" {

services = {
"api" = {
cpu = 1024
cpu = 2048
memory = 4096

version = var.api_image_tag
Expand All @@ -168,7 +168,7 @@ module "service" {
}

"internal" = {
cpu = 1024
cpu = 2048
memory = 4096

version = var.internal_image_tag
Expand Down Expand Up @@ -208,7 +208,7 @@ module "service" {
}

"selfserve" = {
cpu = 1024
cpu = 2048
memory = 4096

version = var.selfserve_image_tag
Expand Down

0 comments on commit 87bdaf4

Please sign in to comment.