Skip to content

Commit

Permalink
Correcting calls to get_sleep_time()
Browse files Browse the repository at this point in the history
  • Loading branch information
snehal-das committed Jan 13, 2025
1 parent dfe9512 commit 9b7556e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfl/component/aggregator/aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def get_tasks(self, collaborator_name):
# if no tasks, tell the collaborator to sleep
if len(tasks) == 0:
tasks = None
sleep_time = self._get_sleep_time()
sleep_time = Aggregator._get_sleep_time()

return tasks, self.round_number, sleep_time, time_to_quit

Expand Down Expand Up @@ -396,7 +396,7 @@ def get_tasks(self, collaborator_name):
# been completed
if len(tasks) == 0:
tasks = None
sleep_time = self._get_sleep_time()
sleep_time = Aggregator._get_sleep_time()

return tasks, self.round_number, sleep_time, time_to_quit

Expand Down

0 comments on commit 9b7556e

Please sign in to comment.