Skip to content

Commit

Permalink
(fix): dev and prod redis setups are identical (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored May 6, 2024
1 parent 9537ff4 commit 313e491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion servers/fdr-deploy/bin/fdr-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function main() {
maxTaskCount: 10,
redis: true,
memory: 4096,
redisClusteringModeEnabled: true,
redisClusteringModeEnabled: false,
cpu: 2048,
},
{
Expand Down
3 changes: 2 additions & 1 deletion servers/fdr-deploy/scripts/fdr-deploy-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ export class FdrDeployStack extends Stack {
cacheName: "FernDocsCache",
IVpc: vpc,
numCacheShards: 1,
numCacheReplicasPerShard: environmentType === EnvironmentType.Prod ? 2 : undefined,
// TODO(dsinghvi): bump this to > 1
numCacheReplicasPerShard: undefined,
clusterMode: "enabled",
cacheNodeType: "cache.r7g.large",
envType: environmentType,
Expand Down

0 comments on commit 313e491

Please sign in to comment.