MCPcopy Create free account
hub / github.com/cosdata/cosdata / __init__

Method __init__

tests/test_hybrid.py:148–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146
147class QPSTracker:
148 def __init__(self):
149 self.query_times = []
150 self.total_queries = 0
151 self.failed_queries = 0
152 self.start_time = None
153 self.end_time = None
154 self.lock = threading.Lock()
155
156 def start_tracking(self):
157 self.start_time = time.time()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected