fix looptable index

This commit is contained in:
thloyi
2026-01-06 16:42:07 +08:00
parent 99ff9968bd
commit c732bb2b46
9 changed files with 3781 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ type AddressTables struct {
}
func NewAddressTables(rpcClient *rpc.Client) *AddressTables {
pool, _ := ants.NewPool(10, ants.WithPreAlloc(true), ants.WithNonblocking(true))
pool, _ := ants.NewPool(5, ants.WithPreAlloc(true), ants.WithNonblocking(true))
cache, _ := lru.New[solana.PublicKey, []solana.PublicKey](10000)
return &AddressTables{
rpcClient: rpcClient,