mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
update to sqlite 3.17.0
This commit is contained in:
@@ -1477,12 +1477,7 @@ namespace Emby.Server.Implementations.LiveTv
|
||||
private DateTime _lastRecordingRefreshTime;
|
||||
private async Task RefreshRecordings(CancellationToken cancellationToken)
|
||||
{
|
||||
const int cacheMinutes = 3;
|
||||
|
||||
if ((DateTime.UtcNow - _lastRecordingRefreshTime).TotalMinutes < cacheMinutes)
|
||||
{
|
||||
return;
|
||||
}
|
||||
const int cacheMinutes = 2;
|
||||
|
||||
await _refreshRecordingsLock.WaitAsync(cancellationToken).ConfigureAwait(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user