Skip to content

Commit

Permalink
Correcting calls to get_sleep_time() (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
snehal-das authored Jan 14, 2025
1 parent 33004f6 commit fdad4fb
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 @@ -472,7 +472,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 @@ -502,7 +502,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 fdad4fb

Please sign in to comment.