Skip to content

Commit

Permalink
Merge pull request #7 from web3bio/sns-process
Browse files Browse the repository at this point in the history
[!] update texts v2
  • Loading branch information
ZhongFuze authored Nov 9, 2024
2 parents c7790b2 + e833089 commit 7d7b10e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sns_process/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7d7b10e

Please sign in to comment.