bugfix: wrong 'next-check' value inserted in db
the "next check" value for working proxy were set to "time.time()", which (could have) caused the working proxies to be checked sooner than expected.
This commit is contained in:
@@ -141,7 +141,7 @@ class Proxywatchd(Thread):
|
||||
else: match = 'unknown'
|
||||
|
||||
#dronebl = self.is_drone_bl(proxy[0])
|
||||
sqlite_requests.append( (0, time.time(), 1, match, proto, duration, proxy[0],))
|
||||
sqlite_requests.append( (0, nextcheck, 1, match, proto, duration, proxy[0],))
|
||||
_log('%s://%s; c: %s; d: %d sec(s); tor: %s; srv: %s; recv: %s' % (proto, proxy[0], match, duration, tor, srv, recv), threadid)
|
||||
|
||||
# bad data
|
||||
|
||||
Reference in New Issue
Block a user