We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67cd4ad + 5c3b216 commit af4f5baCopy full SHA for af4f5ba
2 files changed
kcidev/libs/dashboard.py
@@ -44,6 +44,8 @@ def wrapper(
44
logging.warning(
45
f"Retrying request due to status {r.status_code} (attempt {retries}/{max_retries})"
46
)
47
+ # Delay before retrying, to prevent hammering the server with exponential backoff
48
+ time.sleep(2**retries)
49
continue
50
else:
51
logging.error(
kcidev/subcommands/bisect.py
@@ -226,7 +226,7 @@ def bisection_loop(state):
226
except Exception as e:
227
logging.error(f"Error getting return code from kci-dev: {e}")
228
kci_err(f"Error executing kci-dev, no returncode: {e}")
229
- sys.exit
+ sys.exit(1)
230
231
logging.info(f"Test completed with return code: {testret}")
232
0 commit comments