mirror of https://github.com/Radarr/Radarr
Tweaked Progress notification.
This commit is contained in:
parent
2875832db0
commit
d6d1bbe3f5
|
@ -50,7 +50,7 @@ namespace NzbDrone.Core.Test.ProviderTests.NotificationProviderTests
|
|||
_notificationProvider.Register(fakeNotification);
|
||||
fakeNotification.Dispose();
|
||||
|
||||
Thread.Sleep(4000);
|
||||
Thread.Sleep(7000);
|
||||
|
||||
_notificationProvider.GetCurrent().Should().BeNull();
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
public virtual ProgressNotification GetCurrent()
|
||||
{
|
||||
if (_currentNotification == null || _currentNotification.CompletedTime < DateTime.Now.AddSeconds(-3))
|
||||
if (_currentNotification == null || _currentNotification.CompletedTime < DateTime.Now.AddSeconds(-6))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using System.Threading;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.UI;
|
||||
using MvcMiniProfiler;
|
||||
using NzbDrone.Core.Providers;
|
||||
|
||||
|
@ -20,6 +19,7 @@ namespace NzbDrone.Web.Controllers
|
|||
}
|
||||
|
||||
[HttpGet]
|
||||
[OutputCache(NoStore = true, Location = OutputCacheLocation.None)]
|
||||
public JsonResult Comet(string message)
|
||||
{
|
||||
MiniProfiler.Stop(true);
|
||||
|
|
Loading…
Reference in New Issue