< Summary

Information
Class: Anichron.Worker.Infrastructure.WorkerIniDefaults
Assembly: Anichron.Worker
File(s): /home/runner/work/anichron/anichron/src/Anichron.Worker/Infrastructure/WorkerIniDefaults.cs
Tag: 19_45211875487
Line coverage
100%
Covered lines: 21
Uncovered lines: 0
Coverable lines: 21
Total lines: 28
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Entries()100%11100%

File(s)

/home/runner/work/anichron/anichron/src/Anichron.Worker/Infrastructure/WorkerIniDefaults.cs

#LineLine coverage
 1using Anichron.Infrastructure.Configuration;
 2
 3namespace Anichron.Worker.Infrastructure;
 4
 5internal static class WorkerIniDefaults
 6{
 17    internal static IReadOnlyList<IniEntry> Entries => [
 18        new IniEntry("Worker", "User", () => string.Empty),
 19        new IniEntry("Worker", "ExcludedDirectories", () => string.Empty),
 110        new IniEntry("Worker", "CrawlIntervalHours", () => "4"),
 111        new IniEntry("Worker", "MaxConcurrentFiles", () => "4"),
 112        new IniEntry("Worker", "TokenCleanupIntervalHours", () => "24"),
 113        new IniEntry("Worker", "WorkPollIntervalSeconds", () => "5"),
 114        new IniEntry("Worker", "WorkHeartbeatSeconds", () => "2"),
 115        new IniEntry("Worker", "WorkLeaseSeconds", () => "60"),
 116        new IniEntry("Worker", "WorkMaxStalls", () => "3"),
 117        new IniEntry("Worker", "WorkItemRetentionDays", () => "30"),
 118        new IniEntry("Worker", "WorkItemRetentionIntervalHours", () => "24"),
 119        new IniEntry("Worker", "ThumbnailShortEdge", () => "300"),
 120        new IniEntry("Worker", "ThumbnailJpegQuality", () => "75"),
 121        new IniEntry("Worker", "PreviewLongEdge", () => "1920"),
 122        new IniEntry("Worker", "PreviewJpegQuality", () => "85"),
 123        new IniEntry("Worker", "BlurhashSampleLongEdge", () => "64"),
 124        new IniEntry("Worker", "FfmpegPath", () => "ffmpeg"),
 125        new IniEntry("Worker", "VideoShortEdge", () => "720"),
 126        new IniEntry("Worker", "VideoBitrateKbps", () => "2000"),
 127    ];
 28}

Methods/Properties

get_Entries()