Searched refs:spawn_if_under (Results 1 – 2 of 2) sorted by relevance
584 spawn_if_under=5, # spawn if there's too many hung threads argument618 assert spawn_if_under <= nworkers, (620 % (spawn_if_under, nworkers))621 self.spawn_if_under = spawn_if_under650 if not self.idle_workers and self.spawn_if_under:664 if busy < self.spawn_if_under:667 'workers', busy, self.spawn_if_under-busy)669 for i in range(self.spawn_if_under - busy):
59 there are less than ``spawn_if_under`` busy threads. So if you have60 10 workers, ``spawn_if_under`` is 5, and there are 6 hung threads and70 (because of ``spawn_if_under``) some threads may be collected. If any