check dns solo se il resolver è disattivato

This commit is contained in:
greko
2020-01-15 19:53:48 +01:00
committed by marco
parent e7f3c52a0d
commit 86a48249cc
2 changed files with 17 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ def start():
from specials import resolverdns
from specials.checkhost import test_conn
import threading
threading.Thread(target=test_conn, args=(True, True, True, [], [], True)).start()
threading.Thread(target=test_conn, args=(True, not config.get_setting('resolver_dns'), True, [], [], True)).start()
# check_adsl = test_conn(is_exit = True, check_dns = True, view_msg = True,
# lst_urls = [], lst_site_check_dns = [], in_addon = True)