We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b232a87 + 7e8cacb commit 5a8a07eCopy full SHA for 5a8a07e
check.go
@@ -2,6 +2,10 @@ package rotateproxy
2
3
import (
4
"crypto/tls"
5
+<<<<<<< HEAD
6
+=======
7
+ "fmt"
8
+>>>>>>> 7e8cacba273ca6e9b5ed8167f8d9810248ff7b58
9
"io"
10
"net/http"
11
"net/url"
@@ -99,9 +103,15 @@ func StartCheckProxyAlive(checkURL string, checkURLwords string) {
99
103
for {
100
104
select {
101
105
case <-crawlDone:
106
102
107
InfoLog(Noticeln("Checkings"))
108
checkAlive(checkURL, checkURLwords)
109
InfoLog(Noticeln("Check done"))
110
111
+ fmt.Println("Checking")
112
+ checkAlive(checkURL, checkURLwords)
113
+ fmt.Println("Check done")
114
115
case <-ticker.C:
116
117
}
0 commit comments