coldstart experiment
This commit is contained in:
parent
1c52451025
commit
210ba8c60f
|
@ -10,6 +10,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func NetProbe(address string, timeout int) error {
|
func NetProbe(address string, timeout int) error {
|
||||||
|
cancelChannels := ColdStart([]string{"0.0.0.0:53"})
|
||||||
|
defer ColdStartStop(cancelChannels)
|
||||||
if len(address) <= 0 || timeout == 0 {
|
if len(address) <= 0 || timeout == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue