Skip to content

Commit

Permalink
Merge pull request #154 from whywaita/fix/early-delete
Browse files Browse the repository at this point in the history
Not deleting before limit of GitHub Actions
  • Loading branch information
whywaita authored Nov 4, 2022
2 parents 9ba2e49 + 67609c5 commit aa299f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (
var (
// GoalCheckerInterval is interval time of check deleting runner
GoalCheckerInterval = 1 * time.Minute
// MustGoalTime is hard limit for idle runner
MustGoalTime = 1 * time.Hour
// MustGoalTime is hard limit for idle runner.
// So it is same as the limit of GitHub Actions
MustGoalTime = 6 * time.Hour
// MustRunningTime is set time of instance create + download binaries + etc
MustRunningTime = 5 * time.Minute
// TargetTokenInterval is interval time of checking target token
Expand Down

0 comments on commit aa299f1

Please sign in to comment.