mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-28 04:49:57 +01:00
feat(artwork): extend stale absent age to 30 days and update test formatting
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
59810c3d59
commit
3cb9850872
2 changed files with 3 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ import (
|
|||
)
|
||||
|
||||
// StaleAbsentAge is how long an absent state is trusted before a recheck retries it.
|
||||
const StaleAbsentAge = 7 * 24 * time.Hour
|
||||
const StaleAbsentAge = 30 * 24 * time.Hour
|
||||
|
||||
// StaleAbsentRecheckBatch caps how many absent states each hourly tick re-queues per kind,
|
||||
// oldest first, so external agents see a flat drip instead of a daily burst.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue