MCPcopy Create free account
hub / github.com/C3ting/ARL / __init__

Method __init__

app/services/checkHTTP.py:11–14  ·  view source on GitHub ↗
(self, urls, concurrency=10)

Source from the content-addressed store, hash-verified

9
10class CheckHTTP(BaseThread):
11 def __init__(self, urls, concurrency=10):
12 super().__init__(urls, concurrency=concurrency)
13 self.timeout = (5, 3)
14 self.checkout_map = {}
15
16 def check(self, url):
17 conn = utils.http_req(url, method="get", timeout=self.timeout, stream=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected