Skip to content

Commit

Permalink
Adjust the default number of processes
Browse files Browse the repository at this point in the history
  • Loading branch information
atao committed Jan 24, 2024
1 parent 64915e1 commit df8648a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Options:
-ban, --local-database TEXT Local BAN database for geocoding.
[required]
-p, --processes INTEGER Adjust the number of processes based on your
machine for calculations. [default: 40]
machine for calculations. [default: 12]
-csv, --output-csv PATH Path to CSV file where results will be
saved.
-hdr, --include-header Include header row in the CSV output.
Expand Down
2 changes: 1 addition & 1 deletion geocoder/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def initdb(ban_datasheet, ban_db, separator, chunksize, verbose):
@click.command(name="local")
@click.option('--input-file', '-i', help='Addresses file to geocode', required=True, type=click.Path(exists=True))
@click.option('--local-database', '-ban', required=True, help='Local BAN database for geocoding.')
@click.option('--processes', '-p', default=40, show_default=True, help='Adjust the number of processes based on your '
@click.option('--processes', '-p', default=12, show_default=True, help='Adjust the number of processes based on your '
'machine for calculations.')
@click.option('--output-csv', '-csv', type=click.Path(writable=True),
help='Path to CSV file where results will be saved.')
Expand Down

0 comments on commit df8648a

Please sign in to comment.