Set scripts loading limit
There is a possibility to set a limit for loading and reading lua scripts, for example, by using the command --limit 5 (5 scripts per URL).
We can read five scripts for each url if we have 100 scripts; when the five scripts end, we can read five more scripts for that url.
Hi! I want to try working on this issue.
Can I assume the script loading limit would be implemented on the start function in src/lib.rs?
My current understanding is to add a parameter in this function, limit:Option<usize>, which limits the number of scripts that can be loaded simultaneously.
Thank you @JettChenT, yes, you should change the src/lib.rs file and add a new variable to the start function The next step would be to move the reading function from line 70 to line 89 (within the scope of the stream) as the next step.
best regards khaled