We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2665e7f commit c0e6e72Copy full SHA for c0e6e72
1 file changed
src/NuGetGallery/Areas/Admin/Services/RevalidationAdminService.cs
@@ -20,7 +20,7 @@ public RevalidationStatistics GetStatistics()
20
{
21
var recentCutoff = DateTime.UtcNow.Subtract(TimeSpan.FromHours(1));
22
23
- var pending = _revalidations.GetAll().Count(r => !r.Enqueued.HasValue);
+ var pending = _revalidations.GetAll().Count(r => !r.Enqueued.HasValue && !r.Completed);
24
var started = _revalidations.GetAll().Count(r => r.Enqueued.HasValue);
25
var recent = _revalidations.GetAll().Count(r => r.Enqueued.HasValue && r.Enqueued >= recentCutoff);
26
0 commit comments