Skip to content

Commit

Permalink
remove track for displaying poll interval
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzebsiddiqui committed Oct 24, 2023
1 parent 6c67f56 commit 4093751
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions buildtest/executors/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import os
import time

from rich.progress import track
from rich.table import Column, Table

from buildtest.builders.base import BuilderBase
Expand Down Expand Up @@ -379,11 +378,11 @@ def poll(self, pending_jobs):
and poll jobs until there is no pending jobs."""
# only add builders that are batch jobs


# poll until all pending jobs are complete
while pending_jobs:
print(f"Polling Jobs in {self.pollinterval} seconds")
for i in track(range(self.pollinterval), description="Poll Interval"):
time.sleep(1)
time.sleep(self.pollinterval)

# time.sleep(self.pollinterval)
jobs = pending_jobs.copy()
Expand Down

0 comments on commit 4093751

Please sign in to comment.