Skip to content

Commit

Permalink
Add --dashboard/--no-dashboard flag and enable by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Jun 27, 2024
1 parent e852de4 commit 5dff5d5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dask_mpi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
default=None,
help="JSON serialised dict of options to pass to workers",
)
@click.option(
"--dashboard/--no-dashboard",
"dashboard",
default=True,
required=False,
help="Launch the Dashboard [default: --dashboard]",
)
@click.option(
"--dashboard-address",
type=str,
Expand All @@ -88,6 +95,7 @@ def main(
local_directory,
memory_limit,
scheduler,
dashboard,
dashboard_address,
nanny,
worker_class,
Expand Down Expand Up @@ -118,6 +126,7 @@ async def run_scheduler():
async with Scheduler(
interface=interface,
protocol=protocol,
dashboard=dashboard,
dashboard_address=dashboard_address,
scheduler_file=scheduler_file,
port=scheduler_port,
Expand Down

0 comments on commit 5dff5d5

Please sign in to comment.