fix: Fix :checkout_timeout error on NFT fetching (#10429)

pull/10570/head
nikitosing 4 months ago committed by GitHub
parent 6c07246446
commit 3ab691d0e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      apps/indexer/lib/indexer/application.ex

@ -44,7 +44,9 @@ defmodule Indexer.Application do
) +
token_instance_fetcher_pool_size(Indexer.Fetcher.TokenInstance.LegacySanitize, nil) +
token_instance_fetcher_pool_size(Indexer.Fetcher.TokenInstance.SanitizeERC1155, nil) +
token_instance_fetcher_pool_size(Indexer.Fetcher.TokenInstance.SanitizeERC721, nil)
token_instance_fetcher_pool_size(Indexer.Fetcher.TokenInstance.SanitizeERC721, nil) + 1
# + 1 (above in pool_size calculation) for the Indexer.Fetcher.OnDemand.TokenInstanceMetadataRefetch
base_children = [
:hackney_pool.child_spec(:token_instance_fetcher, max_connections: pool_size),

Loading…
Cancel
Save