mirror of https://github.com/Radarr/Radarr
New: Default RSS Sync Interval to 30 minutes
This commit is contained in:
parent
9516729385
commit
58eb24ff89
|
@ -31,7 +31,7 @@ namespace NzbDrone.Core.Test.Configuration
|
|||
[Test]
|
||||
public void Get_value_should_return_default_when_no_value()
|
||||
{
|
||||
Subject.RssSyncInterval.Should().Be(60);
|
||||
Subject.RssSyncInterval.Should().Be(30);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -46,7 +46,7 @@ namespace NzbDrone.Core.Test.Configuration
|
|||
public void get_value_with_out_persist_should_not_store_default_value()
|
||||
{
|
||||
var interval = Subject.RssSyncInterval;
|
||||
interval.Should().Be(60);
|
||||
interval.Should().Be(30);
|
||||
Mocker.GetMock<IConfigRepository>().Verify(c => c.Insert(It.IsAny<Config>()), Times.Never());
|
||||
}
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace NzbDrone.Core.Configuration
|
|||
|
||||
public int RssSyncInterval
|
||||
{
|
||||
get { return GetValueInt("RssSyncInterval", 60); }
|
||||
get { return GetValueInt("RssSyncInterval", 30); }
|
||||
|
||||
set { SetValue("RssSyncInterval", value); }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue