move math function inside the sql statement
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
|
||||
global database, maxfail, search, torhosts, watchd_threads, checktime, timeout, read_timeout, submit_after, use_ssl, checktime, perfail_checktime
|
||||
|
||||
## read the config files
|
||||
parser = SafeConfigParser()
|
||||
@@ -22,6 +22,9 @@ 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')
|
||||
|
||||
# allow overriding select items from the commandline
|
||||
import argparse
|
||||
|
||||
Reference in New Issue
Block a user