From e833089c3a5d0528ac3acb0ba5adebaf8c5f430f Mon Sep 17 00:00:00 2001 From: ZhongFuze Date: Sat, 9 Nov 2024 13:40:29 +0800 Subject: [PATCH] [!] update texts v2 --- sns_process/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sns_process/index.js b/sns_process/index.js index a21a95a..044b90e 100644 --- a/sns_process/index.js +++ b/sns_process/index.js @@ -35,8 +35,8 @@ const db = pg({ }, }); -// const SOLANA_MAIN_CLIENT = new Connection(process.env.QUICKNODE_RPC); -const SOLANA_MAIN_CLIENT = new Connection(process.env.QUICKNODE_RPC_1); +const SOLANA_MAIN_CLIENT = new Connection(process.env.QUICKNODE_RPC); +// const SOLANA_MAIN_CLIENT = new Connection(process.env.QUICKNODE_RPC_1); // const SOLANA_MAIN_CLIENT = new Connection(process.env.SOLANA_RPC); // Set up bottleneck limiter to control request rate (2 requests per second, 30 requests per minute) @@ -548,7 +548,7 @@ async function fetchDomainTextsV2AndUpdate() { const batchSize = 100; let allCount = 0; let batchCount = 0; - let offset = 0; + let offset = 43500; let hasMoreRows = true; while (hasMoreRows) {