Skip to content

Commit fdad4fb

Browse files
author
Snehal Das
authored
Correcting calls to get_sleep_time() (#1266)
1 parent 33004f6 commit fdad4fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openfl/component/aggregator/aggregator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def get_tasks(self, collaborator_name):
472472
# if no tasks, tell the collaborator to sleep
473473
if len(tasks) == 0:
474474
tasks = None
475-
sleep_time = self._get_sleep_time()
475+
sleep_time = Aggregator._get_sleep_time()
476476

477477
return tasks, self.round_number, sleep_time, time_to_quit
478478

@@ -502,7 +502,7 @@ def get_tasks(self, collaborator_name):
502502
# been completed
503503
if len(tasks) == 0:
504504
tasks = None
505-
sleep_time = self._get_sleep_time()
505+
sleep_time = Aggregator._get_sleep_time()
506506

507507
return tasks, self.round_number, sleep_time, time_to_quit
508508

0 commit comments

Comments
 (0)