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

Add a flag to tune the concurrency threshold #11

Closed
junnlikestea opened this issue Jul 26, 2020 · 1 comment
Closed

Add a flag to tune the concurrency threshold #11

junnlikestea opened this issue Jul 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@junnlikestea
Copy link
Owner

vita/src/lib.rs

Line 109 in 2b237cf

const ACTIVE_REQUESTS: usize = 200;

Currently we use a hardcoded value to limit how many domains we can fetch data for at one time, but I feel like the user should have control of this value. For example, if I have a list of root domains which has over 10k entries, having a hardcoded value setting the limit to 200 might be capping me for no reason.

Instead we should add a flag with a default value set to something reasonable.

@junnlikestea junnlikestea added the enhancement New feature or request label Jul 26, 2020
@junnlikestea
Copy link
Owner Author

Added in: bcd3c51

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

No branches or pull requests

1 participant