Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(macrodb): enable hot_standby_feedback for the read replica (#7961)
gbirman0393bf29d488
diff --git a/infra/stacks/macrodb/index.ts b/infra/stacks/macrodb/index.tsindex 0a9bc98116..7775eeb056 100644--- a/infra/stacks/macrodb/index.ts+++ b/infra/stacks/macrodb/index.ts@@ -134,6 +134,9 @@ const originalParameterGroup = new aws.rds.ParameterGroup({ name: 'jit', value: '0' },// Log spills of at least 10MB for follow-up tuning.{ name: 'log_temp_files', value: '10240' },+ // Keep vacuum on the primary from removing rows that replica queries still+ // read; those snapshot conflicts stall WAL replay for up to 30 s.+ { name: 'hot_standby_feedback', value: '1' },],tags,},@@ -177,6 +180,9 @@ if (stack === 'prod') {{ name: 'jit', value: '0' },// Log spills of at least 10MB for follow-up tuning.{ name: 'log_temp_files', value: '10240' },+ // Keep vacuum on the primary from removing rows that replica queries still+ // read; those snapshot conflicts stall WAL replay for up to 30 s.+ { name: 'hot_standby_feedback', value: '1' },],tags,},