Nour/improved rotation (#290)
* improved rotation * fix bugs * only parse slot if necessary * add metrics for ws source * add select by recent slot to utils * fix solana web3.js version --------- Co-authored-by: wphan <william@drift.trade>
This commit is contained in:
@@ -79,7 +79,9 @@ const main = async () => {
|
||||
const redisClient = new RedisClient({ prefix: redisClientPrefix });
|
||||
await redisClient.connect();
|
||||
|
||||
const slotSubscriber = new SlotSubscriber(connection, {});
|
||||
const slotSubscriber = new SlotSubscriber(connection, {
|
||||
resubTimeoutMs: 10_000,
|
||||
});
|
||||
|
||||
const lamportsBalance = await connection.getBalance(wallet.publicKey);
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user