From 34fb5033c9c3e69d53eca336670f1c517fe27df3 Mon Sep 17 00:00:00 2001 From: ayuki_j <19406594+ayuki-joto@users.noreply.github.com> Date: Tue, 9 Jul 2024 16:33:40 +0900 Subject: [PATCH] refactor: change sidekiq container cpu --- lib/decidim-stack.ts | 2 +- test/__snapshots__/decidim-cfj-cdk.test.ts.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decidim-stack.ts b/lib/decidim-stack.ts index a97670d..0969bc5 100644 --- a/lib/decidim-stack.ts +++ b/lib/decidim-stack.ts @@ -90,7 +90,7 @@ export class DecidimStack extends cdk.Stack { this, "sidekiqTaskDefinition", { - cpu: 1024, + cpu: 512, memoryLimitMiB: 2048, family: `${ props.stage }SidekiqTaskDefinition`, taskRole: backendTaskRole diff --git a/test/__snapshots__/decidim-cfj-cdk.test.ts.snap b/test/__snapshots__/decidim-cfj-cdk.test.ts.snap index bd1c61a..9cfaddb 100644 --- a/test/__snapshots__/decidim-cfj-cdk.test.ts.snap +++ b/test/__snapshots__/decidim-cfj-cdk.test.ts.snap @@ -2063,7 +2063,7 @@ exports[`DecidimStack Created 1`] = ` "Name": "sidekiqContainer", }, ], - "Cpu": "1024", + "Cpu": "512", "ExecutionRoleArn": { "Fn::GetAtt": [ "sidekiqTaskDefinitionExecutionRole147A0623",