|
@ -72,11 +72,11 @@ def main(startDelay, httpCheckUrl, httpCheckTimeout): |
|
|
elif checkResult['success'] == False: |
|
|
elif checkResult['success'] == False: |
|
|
print("error proxy info") |
|
|
print("error proxy info") |
|
|
return |
|
|
return |
|
|
|
|
|
print(checkTag + ' -> ', end = '') |
|
|
print(checkResult) |
|
|
print(checkResult) |
|
|
if __setCheckResult(checkTag, checkResult, redisObject, redisPrefix) == False: |
|
|
if __setCheckResult(checkTag, checkResult, redisObject, redisPrefix) == False: |
|
|
print("redis write error") |
|
|
print("redis write error") |
|
|
return |
|
|
return |
|
|
print("ok") |
|
|
|
|
|
|
|
|
|
|
|
defaultStartDelay = 1.5 |
|
|
defaultStartDelay = 1.5 |
|
|
defaultHttpCheckTimeout = 20 |
|
|
defaultHttpCheckTimeout = 20 |
|
|