Folder Watching Polish + Epub Fix (#1550)
* Fixed entrypoint writing bad json (from develop) * Fixed a bug where log file could write out a crap ton of information (serializing Series object) when a db error occurs. * Fixed an issue with scan loop where concurrency issues could occur on new series being added. * Tweaked the logger to suppress some noisy logs when using Debug log level. * Fixed a regression with epub parsing from v3.2 of Vers-One's release * Fixed up folder watching to work more reliable. Validated in production. * Code cleanup
This commit is contained in:
parent
356d2c8015
commit
4ecb44d3d0
11 changed files with 67 additions and 44 deletions
|
@ -8,15 +8,15 @@ using BenchmarkDotNet.Order;
|
|||
namespace API.Benchmark;
|
||||
|
||||
[MemoryDiagnoser]
|
||||
public class CleanTitleBenchmarks
|
||||
public static class CleanTitleBenchmarks
|
||||
{
|
||||
private static IList<string> _names;
|
||||
|
||||
[GlobalSetup]
|
||||
public void LoadData() => _names = File.ReadAllLines("Data/Comics.txt");
|
||||
public static void LoadData() => _names = File.ReadAllLines("Data/Comics.txt");
|
||||
|
||||
[Benchmark]
|
||||
public void TestCleanTitle()
|
||||
public static void TestCleanTitle()
|
||||
{
|
||||
foreach (var name in _names)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue