mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 21:54:36 +02:00
adjusted update staggering
This commit is contained in:
parent
da0c386853
commit
3932f12ac5
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ namespace MediaBrowser.Common.Implementations.Updates
|
|||
{
|
||||
// Let dev users get results more often for testing purposes
|
||||
var cacheLength = _config.CommonConfiguration.SystemUpdateLevel == PackageVersionClass.Dev
|
||||
? TimeSpan.FromMinutes(10)
|
||||
? TimeSpan.FromHours(1)
|
||||
: TimeSpan.FromHours(12);
|
||||
|
||||
if ((DateTime.UtcNow - _lastPackageListResult.Item2) < cacheLength)
|
||||
|
|
|
|||
Loading…
Reference in a new issue