Skip to content

Commit

Permalink
Reduce number of processes
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahker committed Oct 10, 2024
1 parent 5d7ef1e commit 8fe26d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_raster_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def process_chunk(start, end, dataset, mode, df_iso3s, engine_url):
date_ranges = split_date_range(start, end)

if len(date_ranges) > 1:
num_processes = 5
num_processes = 2
logger.info(
f"Processing {len(date_ranges)} chunks with {num_processes} processes"
)
Expand Down

0 comments on commit 8fe26d0

Please sign in to comment.