Skip to content

Commit

Permalink
Tweaked some wording to make it more informative on how the system wo…
Browse files Browse the repository at this point in the history
…rks.
  • Loading branch information
majora2007 committed Jan 7, 2025
1 parent f0ad031 commit 84dc36f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion API/Services/Plus/ExternalMetadataService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static bool IsPlusEligible(LibraryType type)
/// This is a task that runs on a schedule and slowly fetches data from Kavita+ to keep
/// data in the DB non-stale and fetched.
/// </summary>
/// <remarks>To avoid blasting Kavita+ API, this only processes a few records. The goal is to slowly build </remarks>
/// <remarks>To avoid blasting Kavita+ API, this only processes 25 records. The goal is to slowly build out/refresh the data</remarks>
/// <returns></returns>
[DisableConcurrentExecution(60 * 60 * 60)]
[AutomaticRetry(Attempts = 3, OnAttemptsExceeded = AttemptsExceededAction.Delete)]
Expand Down
3 changes: 2 additions & 1 deletion API/Services/TaskScheduler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,9 @@ public async Task ScheduleKavitaPlusTasks()
() => _externalMetadataService.FetchExternalDataTask(), Cron.Daily(Rnd.Next(1, 4)),
RecurringJobOptions);

// This shouldn't be so close to fetching data due to Rate limit concerns
RecurringJob.AddOrUpdate(KavitaPlusStackSyncId,
() => _smartCollectionSyncService.Sync(), Cron.Daily(Rnd.Next(1, 4)),
() => _smartCollectionSyncService.Sync(), Cron.Daily(Rnd.Next(6, 10)),
RecurringJobOptions);
}

Expand Down
2 changes: 1 addition & 1 deletion UI/Web/src/assets/langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@

"manage-matched-metadata": {
"title": "Matched Metadata",
"description": "All applicable Series that can be matched with External Metadata reside here.",
"description": "All applicable Series that can be matched with External Metadata reside here. Kavita will prefetch or refresh series metadata, 50 series per 24 hours daily.",
"status-header": "Status",
"series-name-header": "Series",
"valid-until-header": "Next Refresh",
Expand Down

0 comments on commit 84dc36f

Please sign in to comment.