Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yanchengnv committed Feb 10, 2025
1 parent 2ad0c1b commit d1e3a7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nvflare/app_opt/flower/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(
num_rounds: number of rounds. Not used in this version.
database: database name
superlink_ready_timeout: how long to wait for the superlink to become ready before starting server app
superlink_grace_period: how long to wait before stopping superlink after stopping the app
flower_run_status_check_interval: how often to check flower run status
configure_task_name: name of the config task
configure_task_timeout: max time allowed for config task to complete
start_task_name: name of the start task
Expand All @@ -72,8 +72,8 @@ def __init__(

self.num_rounds = num_rounds
self.database = database
self.superlink_grace_period = superlink_grace_period
self.superlink_ready_timeout = superlink_ready_timeout
self.flower_run_status_check_interval = flower_run_status_check_interval
self.int_client_grpc_options = int_client_grpc_options
self.monitor_interval = monitor_interval

Expand All @@ -87,7 +87,7 @@ def get_applet(self, fl_ctx: FLContext):
return FlowerServerApplet(
database=self.database,
superlink_ready_timeout=self.superlink_ready_timeout,
superlink_grace_period=self.superlink_grace_period,
status_check_interval=self.flower_run_status_check_interval,
)

def get_client_config_params(self, fl_ctx: FLContext) -> dict:
Expand Down

0 comments on commit d1e3a7a

Please sign in to comment.