Skip to content

Commit 3a3c681

Browse files
committed
Enable isolation option
1 parent 0d53d33 commit 3a3c681

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/octocatalog-diff/util/parallel.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def self.run_tasks(task_array, logger = nil, parallelized = true)
102102
def self.run_tasks_parallel(result, task_array, logger)
103103
# Do parallel processing
104104
::Parallel.each(task_array,
105+
isolation: true,
105106
finish: lambda do |item, i, parallel_result|
106107
# Set the result array element to the result
107108
result[i] = parallel_result

0 commit comments

Comments
 (0)