-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): cancel abandonned run results #6854
Conversation
Signed-off-by: francois.samin <francois.samin@corp.ovh.com>
@@ -18,6 +18,58 @@ import ( | |||
|
|||
const jobLockKey = "jobs:lock" | |||
|
|||
func (api *API) CancelAbandonnedRunResults(ctx context.Context) { | |||
tick := time.NewTicker(5 * time.Minute) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defer stop ticker
CDS Report build-cds#20166.0 ✔
|
CDS Report integration-cds#20166.0 ✘
|
CDS Report integration-cds#20166.1 ✘
|
CDS Report build-cds#20169.0 ✘
|
CDS Report build-cds#20169.1 ✔
|
CDS Report integration-cds#20169.1 ✘
|
CDS Report integration-cds#20169.2 ✘
|
CDS Report build-cds#20174.0 ✔
|
CDS Report integration-cds#20174.0 ✘
|
CDS Report integration-cds#20174.1 ✔
|
|
No description provided.