MCPcopy
hub / github.com/psycopg/psycopg / start

Method start

tests/scripts/spiketest.py:89–91  ·  view source on GitHub ↗
(self, interval)

Source from the content-addressed store, hash-verified

87 self.measures = []
88
89 def start(self, interval):
90 self.worker = threading.Thread(target=self._run, args=(interval,), daemon=True)
91 self.worker.start()
92
93 def stop(self):
94 self.stopped = True

Callers 15

mainFunction · 0.95
test_reconnectFunction · 0.45
test_reconnect_failureFunction · 0.45
test_refill_on_checkFunction · 0.45
test_stats_connectFunction · 0.45
test_stats_connectFunction · 0.45
test_stats_connectFunction · 0.45
test_reconnectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected