diff --git a/config.go b/config.go index 67ba3b2..bd9198f 100644 --- a/config.go +++ b/config.go @@ -297,7 +297,7 @@ func SetBlockListFromURL() bool { } if blockListContent == nil { - blockListURLLastFetch -= (int64(config.UpdateInterval) + 900) + //blockListURLLastFetch -= (int64(config.UpdateInterval) + 900) Log("SetBlockListFromURL", GetLangText("Error-FetchResponse2"), true) continue } @@ -414,7 +414,7 @@ func SetIPBlockListFromURL() bool { } if ipBlockListContent == nil { - ipBlockListURLLastFetch -= (int64(config.UpdateInterval) + 900) + //ipBlockListURLLastFetch -= (int64(config.UpdateInterval) + 900) Log("SetIPBlockListFromURL", GetLangText("Error-FetchResponse2"), true) continue } diff --git a/request.go b/request.go index 883bb30..62cc7c6 100644 --- a/request.go +++ b/request.go @@ -111,7 +111,7 @@ func Fetch(url string, tryLogin bool, clientReq bool, allowCache bool, withHeade } if response.StatusCode == 204 { - Log("Fetch", GetLangText("Debug-Request_NoContent"), false, url) + Log("Debug-Fetch", GetLangText("Debug-Request_NoContent"), false, url) return 204, response.Header, nil } @@ -152,7 +152,7 @@ func Fetch(url string, tryLogin bool, clientReq bool, allowCache bool, withHeade } if allowCache && response.StatusCode == 304 { - Log("Fetch", GetLangText("Debug-Request_NoChange"), false, url) + Log("Debug-Fetch", GetLangText("Debug-Request_NoChange"), false, url) return 304, response.Header, nil }