MCPcopy Index your code
hub / github.com/boy-hack/hack-requests / __init__

Method __init__

HackRequests/HackRequests.py:444–451  ·  view source on GitHub ↗
(self, threadnum, callback, timeout=10)

Source from the content-addressed store, hash-verified

442class threadpool:
443
444 def __init__(self, threadnum, callback, timeout=10):
445 self.thread_count = self.thread_nums = threadnum
446 self.queue = queue.Queue()
447 con = httpcon(timeout=timeout)
448 self.hack = hackRequests(con)
449 self.isContinue = True
450 self.thread_count_lock = threading.Lock()
451 self._callback = callback
452
453 def push(self, payload):
454 self.queue.put(payload)

Callers

nothing calls this directly

Calls 2

httpconClass · 0.85
hackRequestsClass · 0.85

Tested by

no test coverage detected