fix: 운영 중단 복구 시 장수의 지정 턴 시각을 보존

This commit is contained in:
Hide_D committed 2026-09-06 07:37:51 +00:00
1 parent d3b2bcd155
commit 6dcc914f94
3 files changed
+110 -6

No files matched your search

@@ -1280,6 +1280,9 @@ export class GatewayOrchestrator implements GatewayOrchestratorHandle {
db: postgres.prisma,
suspensionId: `gateway-maintenance-${suffix}`,
source: 'MAINTENANCE',
// 운영 중단은 생성 때 구매한 턴 구간과 장수 간 실행 순서를 보존한다.
// 완전한 턴만 건너뛰고 잔여 구간은 저장된 실행 커서부터 이어간다.
policy: 'LEGACY_COMPLETE_TURNS',
authority,
});
suspension = await postgres.prisma.clockSuspension.findUniqueOrThrow({