Merger: now uses all available CPU cores ( before max 6 )

so the more processors, the faster the process will be.
This commit is contained in:
Colombo 2020-02-01 18:58:10 +04:00
parent 9c07983c68
commit 054a7e0e6e

View File

@ -219,7 +219,7 @@ class MergeSubprocessor(Subprocessor):
self.output_mask_path = output_mask_path
self.model_iter = model_iter
self.prefetch_frame_count = self.process_count = min(6,multiprocessing.cpu_count())
self.prefetch_frame_count = self.process_count = multiprocessing.cpu_count()
session_data = None
if self.is_interactive and self.merger_session_filepath.exists():