Skip to content

Commit c90a5ff

Browse files
committed
bot: Upload commit coverage mapping every 10 minutes rather than every hour
So if a task times out at 3:51 we only lose 1 minute of work rather than 51!
1 parent 0c3772a commit c90a5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/code_coverage_bot/commit_coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def analyze_changeset(changeset_to_analyze: str) -> None:
142142
if exc is not None:
143143
logger.error(f"Exception {exc} while analyzing {changeset}")
144144

145-
if time.monotonic() - start_time >= 3600:
145+
if time.monotonic() - start_time >= 600:
146146
_upload()
147147
start_time = time.monotonic()
148148

0 commit comments

Comments
 (0)