migrate: longer timeout

This commit is contained in:
undefined committed 2024-08-24 16:53:44 +08:00
1 parent aefbe70ac0
commit 00886d948e
1 file changed
+1
+1
View File
@@ -82,6 +82,7 @@ export async function run({
user: username,
password,
database: name,
connectTimeout: 15000,
});
const query = (q: string) => new Promise<any[]>((res, rej) => {
src.query(q).then((r) => res(r)).catch((e) => rej(e));