Skip to content

Commit

Permalink
set threads per worker to 1
Browse files Browse the repository at this point in the history
jdebacker committed May 3, 2024
1 parent 565fdef commit 33b1902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_examples/run_ogcore_example.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ def main():
# Define parameters to use for multiprocessing
num_workers = min(multiprocessing.cpu_count(), 7)
print("Number of workers = ", num_workers)
client = Client(n_workers=num_workers)
client = Client(n_workers=num_workers, threads_per_worker=1)
run_start_time = time.time()

# Directories to save data

0 comments on commit 33b1902

Please sign in to comment.