Skip to content

Commit 20af55c

Browse files
committed
Fix reset_global_job_kwargs
1 parent 3df1083 commit 20af55c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/spikeinterface/core/globals.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ def reset_global_job_kwargs():
135135
Reset the global job kwargs.
136136
"""
137137
global global_job_kwargs
138-
global_job_kwargs = dict(n_jobs=1, chunk_duration="1s", progress_bar=True)
138+
global_job_kwargs = dict(
139+
n_jobs=1, chunk_duration="1s", progress_bar=True, mp_context=None, max_threads_per_process=1
140+
)
139141

140142

141143
def is_set_global_job_kwargs_set() -> bool:

0 commit comments

Comments
 (0)