mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
migrate: longer timeout
This commit is contained in:
1 file changed
+1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user