From c48709c8dcf8b76df015ca14887b2b8f0bd4b372 Mon Sep 17 00:00:00 2001 From: Jona Date: Tue, 3 Oct 2023 22:57:44 -0400 Subject: [PATCH] Environmental changes requested by Aemon to make front end performant --- stack/cloud_run_tipg.py | 6 +++++- stack/stack_config/Pulumi.production.yaml | 2 +- stack/stack_config/Pulumi.staging.yaml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/stack/cloud_run_tipg.py b/stack/cloud_run_tipg.py index bde9ee8a..02243626 100644 --- a/stack/cloud_run_tipg.py +++ b/stack/cloud_run_tipg.py @@ -72,8 +72,12 @@ name="TIPG_TABLE_CONFIG__public_slick_plus__DATETIMECOL", value="slick_timestamp", ), + gcp.cloudrun.ServiceTemplateSpecContainerEnvArgs( + name="TIPG_MAX_FEATURES_PER_QUERY", + value=50000, + ), ], - resources=dict(limits=dict(memory="2Gi", cpu="4000m")), + resources=dict(limits=dict(memory="8Gi", cpu="6000m")), ), ], timeout_seconds=420, diff --git a/stack/stack_config/Pulumi.production.yaml b/stack/stack_config/Pulumi.production.yaml index da26c981..acd63a62 100644 --- a/stack/stack_config/Pulumi.production.yaml +++ b/stack/stack_config/Pulumi.production.yaml @@ -5,7 +5,7 @@ config: secure: v1:IuQ6n+tMG3oHe0pn:0/PQL0VoNoR2uCA9We2m9acc4nX73a0ViqSiHJhNe9X1srrZI4TvmsQZcuUrtzy4EoKSbQ== cerulean-cloud:dryrun_historical: "True" cerulean-cloud:dryrun_relevancy: "True" - db:db-instance: db-g1-small + db:db-instance: db-custom-4-15360 db:deletion-protection: "True" db:db-password: secure: v1:PKkW6hR207H6+aLE:QRMTEAQMB5VFmJt4Sbvzx7i4hkqlO4HomLltlRFYrQ== diff --git a/stack/stack_config/Pulumi.staging.yaml b/stack/stack_config/Pulumi.staging.yaml index 934233c0..5e330905 100644 --- a/stack/stack_config/Pulumi.staging.yaml +++ b/stack/stack_config/Pulumi.staging.yaml @@ -5,7 +5,7 @@ config: cerulean-cloud:dryrun_relevancy: "" # Make empty "" to turn on recurring runs cerulean-cloud:apikey: secure: v1:GEqP+nWvrQb16t/f:uhLbrS+C7yFjQunkOnBOw9eZXt8JUS5dsiDTSH5hytK5vJ3zO8DJO5bOjQNBOKn/T5AWGA== - db:db-instance: db-f1-micro + db:db-instance: db-custom-4-15360 db:deletion-protection: "True" db:db-password: secure: v1:Ea/zFeRAgMYN80Zj:TTw3Y7ETepsDhd1tpK6z6fzab54PT1g1udNHmchgIT7/IcjiMgTb