Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Blanca-Fuentes committed Dec 11, 2024
1 parent a73343a commit 8a90ec0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions reframe/frontend/executors/policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def is_time_to_poll(self):
t_elapsed = time.time() - self._t_init

self._num_polls += 1
poll_rate = self._num_polls / t_elapsed if t_elapsed else math.inf
if t_elapsed >= self._sleep_duration:
return True
else:
Expand Down Expand Up @@ -437,7 +436,6 @@ async def _runcase(self, case, task):
if not self.dry_run_mode:
if getpollcontroller().is_time_to_poll():
getpollcontroller().reset_time_to_poll()
getpollcontroller().reset_snooze_time()
await sched.poll(*getpollcontroller()._jobs_pool)

if task.run_complete():
Expand Down

0 comments on commit 8a90ec0

Please sign in to comment.