Merge branch 'changes4' into 'master'
save total_duration as int into the db See merge request mserneels/ppf!4
This commit is contained in:
@@ -77,7 +77,7 @@ class WorkerJob():
|
||||
self.proto = proto
|
||||
self.failcount = 0
|
||||
self.success_count = self.success_count + 1
|
||||
self.total_duration += duration*1000
|
||||
self.total_duration += int(duration*1000)
|
||||
_log('%s://%s; c: %s; d: %.2f sec(s); tor: %s; srv: %s; recv: %s' % (proto, self.proxy, match, duration, tor, srv, recv), 'xxxxx')
|
||||
except KeyboardInterrupt as e:
|
||||
raise e
|
||||
|
||||
Reference in New Issue
Block a user