From 29700f9d76297ebc64d666f3ff35d5dfb8177a72 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Tue, 13 Oct 2026 11:21:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B0=81=20=ED=83=AD=201~3=EC=9C=84=20?= =?UTF-8?q?=EC=96=91=EC=98=86=20=EC=B9=B4=EB=93=9C=20=EB=86=92=EC=9D=B4?= =?UTF-8?q?=EB=A5=BC=20=EA=B0=99=EA=B2=8C(=EC=9D=B4=EB=A6=84=EC=9D=B4=20?= =?UTF-8?q?=EB=91=90=20=EC=A4=84=EC=9D=B4=EB=A9=B4=202=EC=9C=84=EB=A7=8C?= =?UTF-8?q?=20=EC=BB=A4=EC=A7=80=EB=8D=98=20=EA=B2=83),=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20=EB=95=8C=20=ED=94=BC=EB=93=9C=20=EC=BA=90=EC=8B=9C?= =?UTF-8?q?=20=EB=B9=84=EC=9B=80(=EC=98=A4=EB=8A=98=20=ED=83=AD=20?= =?UTF-8?q?=EC=88=9C=EC=9C=84=EA=B0=80=20=EC=98=9B=20=EA=B7=9C=EC=B9=99?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=82=A8=EB=8D=98=20=EA=B2=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 ++ frontend/src/b/GakPage.tsx | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/deploy.sh b/deploy.sh index 1987c04..9dadf32 100755 --- a/deploy.sh +++ b/deploy.sh @@ -19,6 +19,8 @@ docker compose up -d --wait postgres redis docker compose exec -T postgres psql -q -v ON_ERROR_STOP=1 -U "$DB_USER" -d "$DB_NAME" < backend/postgres-init/init.sql docker compose up -d --build backend worker frontend docker compose exec -T backend python scripts/load_seed.py +# 피드 캐시는 최대 1시간이라, 각 규칙이 바뀌어도 오늘 탭만 옛 순위로 남는다 +docker compose exec -T redis sh -c "redis-cli --scan --pattern 'feed:*' | xargs -r redis-cli del" >/dev/null if [ "${1:-}" = "--restore-db" ]; then dump="${2:?덤프 파일 경로가 필요합니다}" diff --git a/frontend/src/b/GakPage.tsx b/frontend/src/b/GakPage.tsx index d4de47e..60b3997 100644 --- a/frontend/src/b/GakPage.tsx +++ b/frontend/src/b/GakPage.tsx @@ -27,11 +27,11 @@ const GRID_SKELS = Array.from({ length: 9 }, (_, i) => i) /** 1~3위 받침대와 같은 칸(가운데가 높은 3칸)의 스켈레톤 */ function PodiumSkel() { return ( -