감사 수집과 저장 장애를 게임 진행에서 분리한다
This commit is contained in:
1 parent
daf7a87799
commit
6b65633324
22 files changed
+1108
-550
No files matched your search
@@ -117,6 +117,12 @@ export const readAuditWorld = async (tx: GamePrisma.TransactionClient) => {
|
||||
startYear,
|
||||
startMonth,
|
||||
collectionStart,
|
||||
historyGap: (() => {
|
||||
const gap = asRecord(meta.playAuditGap);
|
||||
return gap.serverId === serverId && Number.isInteger(gap.firstYear) && Number.isInteger(gap.firstMonth)
|
||||
? { firstYear: Number(gap.firstYear), firstMonth: Number(gap.firstMonth) }
|
||||
: null;
|
||||
})(),
|
||||
tick: world.lastTurnTick?.toString() ?? null,
|
||||
asOf: new Date().toISOString(),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user