Removed debug code from the release

This commit is contained in:
Joseph Milazzo 2023-12-07 06:40:00 -06:00
parent 47ec5f0171
commit da13d0d04d
2 changed files with 1 additions and 4 deletions

View file

@ -2,6 +2,7 @@
using Xunit; using Xunit;
namespace API.Tests.Services; namespace API.Tests.Services;
#nullable enable
public class ScrobblingServiceTests public class ScrobblingServiceTests
{ {

View file

@ -115,10 +115,6 @@ public class ReaderController : BaseApiController
try try
{ {
if (new Random().Next(1, 10) > 5)
{
await Task.Delay(1000);
}
var chapter = await _cacheService.Ensure(chapterId, extractPdf); var chapter = await _cacheService.Ensure(chapterId, extractPdf);
if (chapter == null) return NoContent(); if (chapter == null) return NoContent();
_logger.LogInformation("Fetching Page {PageNum} on Chapter {ChapterId}", page, chapterId); _logger.LogInformation("Fetching Page {PageNum} on Chapter {ChapterId}", page, chapterId);