Skip to content

Commit

Permalink
FIX: CLI dispatcher default integer type for n_threads
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Apr 3, 2019
1 parent 4f9f539 commit c16e184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramp-engine/ramp_engine/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def main():
'event information.')
@click.option('--n-workers', default=-1, show_default=True,
help='Number of worker to start in parallel.')
@click.option('--n-threads', default=None, show_default=None,
@click.option('--n-threads', default=None, show_default=None, type=int
help='Number of threads used by each worker.')
@click.option('--hunger-policy', default='exit', show_default=True,
help='Policy to apply in case that there is no anymore workers'
Expand Down

0 comments on commit c16e184

Please sign in to comment.