Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(dss): Reduce max pods, increase sql connection count (#1363)

Evan Hutnik62aaaffaec53
diff --git a/infra/stacks/cloud-storage-service/cloud-storage-service.ts b/infra/stacks/cloud-storage-service/cloud-storage-service.ts
index 691d98c14d..594ea2f7f1 100644
--- a/infra/stacks/cloud-storage-service/cloud-storage-service.ts
+++ b/infra/stacks/cloud-storage-service/cloud-storage-service.ts
@@ -447,7 +447,7 @@ export class CloudStorageService extends pulumi.ComponentResource {
const serviceScalableTarget = new aws.appautoscaling.Target(
`${BASE_NAME}-service-scalable-target-${stack}`,
{
- maxCapacity: stack === 'prod' ? 15 : 3,
+ maxCapacity: stack === 'prod' ? 7 : 3,
minCapacity: stack === 'prod' ? 3 : 1,
resourceId: pulumi.interpolate`service/${this.cloudStorageClusterName}/${this.service.service.name}`,
scalableDimension: 'ecs:service:DesiredCount',
diff --git a/rust/cloud-storage/document_storage_service/src/main.rs b/rust/cloud-storage/document_storage_service/src/main.rs
index f6f134a8fd..7b7725a851 100644
--- a/rust/cloud-storage/document_storage_service/src/main.rs
+++ b/rust/cloud-storage/document_storage_service/src/main.rs
@@ -78,9 +78,9 @@ async fn main() -> anyhow::Result<()> {
tracing::trace!("initialized config");
let (min_connections, max_connections): (u32, u32) = match config.environment {
- Environment::Production => (25, 75),
- Environment::Develop => (3, 20),
- Environment::Local => (3, 10),
+ Environment::Production => (50, 150),
+ Environment::Develop => (15, 50),
+ Environment::Local => (15, 50),
};
let db = PgPoolOptions::new()