Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kcidev/libs/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def wrapper(
logging.warning(
f"Retrying request due to status {r.status_code} (attempt {retries}/{max_retries})"
)
# Delay before retrying, to prevent hammering the server with exponential backoff
time.sleep(2**retries)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why adding a commit and fixing it in a second commit?
just fix this on your first commit

continue
else:
logging.error(
Expand Down
2 changes: 1 addition & 1 deletion kcidev/subcommands/bisect.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def bisection_loop(state):
except Exception as e:
logging.error(f"Error getting return code from kci-dev: {e}")
kci_err(f"Error executing kci-dev, no returncode: {e}")
sys.exit
sys.exit(1)

logging.info(f"Test completed with return code: {testret}")

Expand Down
Loading