junnlikestea / vita

A tool to find subdomains or domains from passive sources.
The Unlicense
107 stars 16 forks source link

Add a flag to tune the concurrency threshold #11

Closed junnlikestea closed 4 years ago

junnlikestea commented 4 years ago

https://github.com/junnlikestea/vita/blob/2b237cf847fa6ad8d5ec506a5dea678fc360e5b5/src/lib.rs#L109

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 commented 4 years ago

Added in: bcd3c513d7f06589aa9fa9528f09a0164ec8dd11