Commit f15b183a by luoqi

fix(gap): 对拍事务超时提到 3 小时 —— 测试机 585K 单子场景两版跑一遍就可能超 1 小时

parent d091ed21
Pipeline #3618 failed in 0 seconds
...@@ -215,7 +215,7 @@ async function bootstrap(): Promise<number> { ...@@ -215,7 +215,7 @@ async function bootstrap(): Promise<number> {
await tx.$executeRaw`SET LOCAL work_mem = '256MB'`; await tx.$executeRaw`SET LOCAL work_mem = '256MB'`;
return tx.$queryRaw<DiffRow[]>(diffSql); return tx.$queryRaw<DiffRow[]>(diffSql);
}, },
{ timeout: 60 * 60 * 1000, maxWait: 60_000 }, { timeout: 3 * 60 * 60 * 1000, maxWait: 120_000 },
); );
if (diffs.length === 0) { if (diffs.length === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment