Removed debug code from the release
This commit is contained in:
parent
47ec5f0171
commit
da13d0d04d
2 changed files with 1 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace API.Tests.Services;
|
namespace API.Tests.Services;
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
public class ScrobblingServiceTests
|
public class ScrobblingServiceTests
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue