Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hackney pool size #9874

Closed
nikitosing opened this issue Apr 12, 2024 · 0 comments · Fixed by #9941
Closed

Update hackney pool size #9874

nikitosing opened this issue Apr 12, 2024 · 0 comments · Fixed by #9941
Assignees

Comments

@nikitosing
Copy link
Member

pool_size =
Application.get_env(:indexer, Indexer.Fetcher.TokenInstance.Retry)[:concurrency] +
Application.get_env(:indexer, Indexer.Fetcher.TokenInstance.Realtime)[:concurrency] +
Application.get_env(:indexer, Indexer.Fetcher.TokenInstance.Sanitize)[:concurrency]
base_children = [
:hackney_pool.child_spec(:token_instance_fetcher, max_connections: pool_size),

add here new sanitizers concurrency:
Indexer.Fetcher.TokenInstance.SanitizeERC721
Indexer.Fetcher.TokenInstance.SanitizeERC1155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant