test: add turn command state differential harness
This commit is contained in:
1 parent
0151055f94
commit
111d3c7074
16 files changed
+1200
-31
No files matched your search
@@ -35,8 +35,7 @@ type LeaseRow = {
|
||||
fencing_epoch: bigint;
|
||||
};
|
||||
|
||||
const normalizeLeaseDuration = (value?: number): number =>
|
||||
Math.max(1_000, Math.floor(value ?? 30_000));
|
||||
const normalizeLeaseDuration = (value?: number): number => Math.max(1_000, Math.floor(value ?? 30_000));
|
||||
|
||||
export class DatabaseTurnDaemonLease {
|
||||
private readonly db: GamePrismaClient;
|
||||
|
||||
Reference in new issue
Block a user