mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 20:15:26 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
14 lines
513 B
C#
14 lines
513 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Hangfire;
|
|
|
|
namespace Kavita.API.Services.Metadata;
|
|
|
|
public interface IWordCountAnalyzerService
|
|
{
|
|
[DisableConcurrentExecution(timeoutInSeconds: 60 * 60 * 60)]
|
|
[AutomaticRetry(Attempts = 2, OnAttemptsExceeded = AttemptsExceededAction.Delete)]
|
|
Task ScanLibrary(int libraryId, bool forceUpdate = false, CancellationToken ct = default);
|
|
Task ScanSeries(int libraryId, int seriesId, bool forceUpdate = true, CancellationToken ct = default);
|
|
}
|