Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 2, 2025
1 parent c13ba38 commit 9154578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nwp_consumer/internal/services/consumer_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _parallelize_generator[T](
if os.getenv("CONCURRENCY", "True").capitalize() == "False":
n_jobs = 1
elif os.getenv("NUMBER_CONCURRENT_JOBS") is not None:
n_jobs = int(os.getenv("NUMBER_CONCURRENT_JOBS"))
n_jobs = int(str(os.getenv("NUMBER_CONCURRENT_JOBS")))
log.debug(f"Using {n_jobs} concurrent thread(s)")

return Parallel( # type: ignore
Expand Down

0 comments on commit 9154578

Please sign in to comment.