avoid double "checktime" usage
This commit is contained in:
@@ -4,7 +4,7 @@ _loaded = False
|
||||
|
||||
def load():
|
||||
if _loaded: return
|
||||
global database, maxfail, search, torhosts, watchd_threads, checktime, timeout, read_timeout, submit_after, use_ssl, checktime, perfail_checktime
|
||||
global database, maxfail, search, torhosts, watchd_threads, checktime, timeout, read_timeout, submit_after, use_ssl, url_checktime, url_perfail_checktime
|
||||
|
||||
## read the config files
|
||||
parser = SafeConfigParser()
|
||||
@@ -22,9 +22,8 @@ def load():
|
||||
use_ssl = parser.getboolean('watcherd', 'use_ssl')
|
||||
global watchd_debug
|
||||
watchd_debug = parser.getboolean('watcherd', 'debug')
|
||||
#url_maxfail = parser.get('proxyfind', 'maxfail')
|
||||
checktime = parser.get('proxyfind', 'checktime')
|
||||
perfail_checktime = parser.get('proxyfind', 'perfail_checktime')
|
||||
url_checktime = parser.get('proxyfind', 'checktime')
|
||||
url_perfail_checktime = parser.get('proxyfind', 'perfail_checktime')
|
||||
|
||||
# allow overriding select items from the commandline
|
||||
import argparse
|
||||
|
||||
Reference in New Issue
Block a user