mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
Fixed: Early cleanup of completed tasks
This commit is contained in:
@@ -151,7 +151,7 @@ namespace NzbDrone.Core.Messaging.Commands
|
||||
{
|
||||
_logger.Trace("Cleaning up old commands");
|
||||
|
||||
var old = _commandCache.Values.Where(c => c.EndedAt < DateTime.UtcNow.AddMinutes(5));
|
||||
var old = _commandCache.Values.Where(c => c.EndedAt < DateTime.UtcNow.AddMinutes(-5));
|
||||
|
||||
foreach (var command in old)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user