Skip to content

Commit

Permalink
Merge pull request #35 from BertCotton/ExcessiveLogging
Browse files Browse the repository at this point in the history
Removing excessive logging and trucated loading percent
  • Loading branch information
BertCotton authored Aug 4, 2017
2 parents dbf6aa8 + 643be26 commit 9e558d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/TfsAdvanced/Controllers/HealthController.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using TfsAdvanced.DataStore.Repository;

Expand All @@ -20,7 +21,7 @@ public IActionResult IsLoaded()
return Ok(new Dictionary<string, object>
{
{"IsLoaded", hangFireStatusRepository.IsLoaded()},
{"LoadedPercent", hangFireStatusRepository.PercentLoaded()}
{"LoadedPercent", Math.Round(hangFireStatusRepository.PercentLoaded(), 2)}
});
}
}
Expand Down
1 change: 0 additions & 1 deletion src/TfsAdvanced/wwwroot/views/jobRequests.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
for (var i = 0, ien = json.length; i < ien; i++) {
var column = 0;
var jobRequest = json[i];
console.log(jobRequest);
json[i][column++] = "<a href=" + jobRequest.Url + " target='_blank'>" + jobRequest.requestId + "</a>";

if (jobRequest.jobType === 'release')
Expand Down

0 comments on commit 9e558d4

Please sign in to comment.