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

Teo/max sync concurrency #61

Closed
wants to merge 2 commits into from

Conversation

smeyerhot
Copy link

Fixes #41

Motivation

This commit allows users to specify an env variable MAXSYNC which overrides DefaultConcurrency in rosetta-sdk-go.

Solution

The solution was to add a field to the Configuration struct in the same way as Mode and Network. Then used this value when constructing the syncer to override defaults.

Open questions

patrick-ogrady and others added 2 commits December 24, 2020 18:35
update version

Addressing issue coinbase#41 - Allow max concurrency limits configuration on the indexer

Addressing issue coinbase#41 - Allow max concurrency limits configuration on the indexer

Addressing issue coinbase#41 - Allow max concurrency limits configuration on the indexer

Addressing issue coinbase#41 - Allow max concurrency limits configuration on the indexer

update version

Addressing issue coinbase#41 - Allow max concurrency limits configuration on the indexer

Addressing issue coinbase#41 - Allow max concurrency limits configuration on the indexer
@smeyerhot smeyerhot force-pushed the teo/max-sync-concurrency branch from 7c297fb to acb577d Compare December 24, 2020 23:43
@smeyerhot smeyerhot closed this Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Allow max concurrency limits configuration on the indexer
2 participants