Skip to content

Commit

Permalink
Increase task extra time to avoid job jumping to another runner
Browse files Browse the repository at this point in the history
Runners are considering jobs that are still being executed
by another runner as stalled. Some of those jobs are about to time-out;
however, a new runner marks it as stalled and re-runs it, while the
first runner is still running the job. Github doesn't receive an
error/failure from the first runner, only the notification that a
new runner is picking the job.

Issue: #365

Signed-off-by: Armando Neto <[email protected]>
  • Loading branch information
netoarmando committed Jun 10, 2020
1 parent 7ad607e commit 689d9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/internals/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# When runner reaches this remaining API limit value, it will sleep
# until the reset time will come.
EPHEMERAL_LIMIT = 60
STALE_TASK_EXTRA_TIME = 60
STALE_TASK_EXTRA_TIME = 240


def sentry_report_exception(context: Dict):
Expand Down

0 comments on commit 689d9df

Please sign in to comment.