Skip to content

Commit

Permalink
Reintroduce heartbeat_period to status report global state
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-janidlo committed Apr 20, 2023
1 parent 1fd4bea commit e7e1814
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,7 @@ def get_global_state_for_status_report(self):
"idle_workers": free_capacity,
"pending_tasks": pending_tasks,
"outstanding_tasks": outstanding_tasks,
"heartbeat_period": self.heartbeat_period,
}

def scale_out(self, blocks=1, task_type=None):
Expand Down

0 comments on commit e7e1814

Please sign in to comment.