(self, work_type, target_queue, thread_name)
| 90 | """ 多线程检测 """ |
| 91 | |
| 92 | def __init__(self, work_type, target_queue, thread_name): |
| 93 | Thread.__init__(self, name=thread_name) |
| 94 | self.work_type = work_type |
| 95 | self.log = LogHandler("checker") |
| 96 | self.proxy_handler = ProxyHandler() |
| 97 | self.target_queue = target_queue |
| 98 | self.conf = ConfigHandler() |
| 99 | |
| 100 | def run(self): |
| 101 | self.log.info("{}ProxyCheck - {}: start".format(self.work_type.title(), self.name)) |
nothing calls this directly
no test coverage detected