MCPcopy
hub / github.com/pimutils/vdirsyncer / spawn_worker

Method spawn_worker

vdirsyncer/cli/utils.py:349–355  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

347 self.shutdown()
348
349 def spawn_worker(self):
350 if self._max_workers and len(self._workers) >= self._max_workers:
351 return
352
353 t = click_threading.Thread(target=self._worker)
354 t.start()
355 self._workers.append(t)
356
357 @contextlib.contextmanager
358 def join(self):

Callers 4

syncFunction · 0.95
metasyncFunction · 0.95
discoverFunction · 0.95
prepare_pairFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected