Test concurrency value should be increased or be configurable for the user #25
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cuynu/v2rayvn#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: pouriaksrvi
When running a batch test for all list, the tests get done sequentially and each 10 tests wait for the earlier tests to be done.
It's slow when the list is too long.
It is because number 10 is hard-coded as the number of threads in V2RayTestService class
This number should be configurable or it should be a larger number.
Tests are IO burst tasks which don't use much CPU so increasing this number won't cause a huge CPU slowdown or performance issues.
Increasing this number, only causes the tests not getting waited or locked in a queue so they all can start at the same time.
This number can be at least 50 (or unlimited if it doesn't affect CPU context switcher on slow and weak devices?)
Later we can make it configurable too.
Also, a cachedThreadPool is the alternative solution, maybe.
It is needed when the list is long.
Thanks for you suggestion, since i'm not a developer so i only can edit and add some codes.
Created by: pouriaksrvi
Your welcome.
I will open a push request later. I know the solution. But I'm still unsure if it is a good solution or not.
Created by: aryanshojaei74
Hello, please update the program, some configurations are not working
which configuration type?
Created by: aryanshojaei74
vless://
@.***:443?security=reality&encryption=none&pbk=71c4m-FD5URjGQqr0NmrOmFUoUn5Z8LmGzla90Y6iT4&headerType=none&fp=chrome&type=tcp&sni=discord.com&sid=ee479df7#Aryan
On Mon, 29 May 2023, 14:20 Cuynu, @.***> wrote:
Created by: aryanshojaei74
Vless Tcp
pbk not supported
Created by: aryanshojaei74
That version V2ray 1.8.5 It works. Can it be fixed in future updates? Your program is much smoother and better
Created by: pouriaksrvi
سلام این ریپازیتوری اصلی نیست. باید روی ریپازیتوری اصلی بگی مشکلتو. این یه فورکه با بهبودهای جزیی که اعمال کرده.
Created by: aryanshojaei74
The new version stops when you add the server and comes out of the program.
V 1.8.17
Revert to 1.8.16, this is known issue
Created by: aryanshojaei74
Ok
On Wed, 28 Jun 2023, 16:55 Cuynu, @.***> wrote:
fixed in 1.8.18
thx i will try increase in next build
Created by: aryanshojaei74
Ok, thanks for the clarification.
On Sat, 8 Jul 2023, 00:06 Cuynu, @.***> wrote: