Increase speed test timeout to 10s (VLESS Reality nodes need 2-5s for full handshake)

This commit is contained in:
Sing Dev
2026-04-06 02:05:11 +08:00
parent f952911bfa
commit d4b55a7482

View File

@@ -147,7 +147,7 @@ object NodeTester {
* Test all nodes concurrently, calling onResult for each as it completes.
* This avoids waiting for the slowest node before showing any results.
*/
fun refreshAllStreaming(timeoutMs: Int = 5000, onResult: (tag: String, delay: Int) -> Unit) {
fun refreshAllStreaming(timeoutMs: Int = 10000, onResult: (tag: String, delay: Int) -> Unit) {
if (!isRunning) return
val testURL = "http://connectivitycheck.gstatic.com/generate_204"
// Get all proxy names