We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a51b61 commit 0c34ebfCopy full SHA for 0c34ebf
1 file changed
PoolManager.cs
@@ -400,6 +400,13 @@ private async Task CleanUpRunners(List<GithubTargetConfiguration> targetConfigs)
400
// VM younger than 6h - not cleaning yet
401
continue;
402
}
403
+
404
+ if (runner.LastState == RunnerStatus.Processing)
405
+ {
406
+ // VM still processing - not cleaning
407
+ _logger.LogWarning($"Found a long processing runner: {runner.Hostname}");
408
+ continue;
409
+ }
410
411
// Delete before writing to db.
412
bool _ = githubTarget.Target switch
0 commit comments