coldstart experiment

This commit is contained in:
Frank Denis 2020-08-03 15:40:39 +02:00
parent 1c52451025
commit 210ba8c60f
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ import (
)
func NetProbe(address string, timeout int) error {
cancelChannels := ColdStart([]string{"0.0.0.0:53"})
defer ColdStartStop(cancelChannels)
if len(address) <= 0 || timeout == 0 {
return nil
}