REF: refactored inserts into raw query batch inserts (much faster)
This commit is contained in:
parent
2d053f60f8
commit
79ec29c59f
@ -87,6 +87,7 @@ const ADDRESS_IGNORE_LIST = [
|
||||
"bc1qmhq4sgtchfgh6ul75x3rsuegt55mef0zx3ehm2",
|
||||
"bc1qws8yeyfxzykuq7tevwwxezyv3ad99emlyy9uls",
|
||||
"bc1q42kvqt0e3f27qhd2ucnprarl5ywpuj7tu0h9v2",
|
||||
"bc1q5k9tyr30xhmvmnj2z2cx0psprz44ksnmpuw7q8",
|
||||
];
|
||||
|
||||
let connection: DataSource;
|
||||
|
||||
@ -146,7 +146,7 @@ dataSource
|
||||
const responseGetblockcount = await client.request("getblockcount", []);
|
||||
|
||||
if (+responseGetblockcount.result <= +keyVal.value) {
|
||||
await new Promise((resolve) => setTimeout(resolve, 60000, false));
|
||||
await new Promise((resolve) => setTimeout(resolve, 10_000, false));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user