New: Default RSS Sync Interval to 30 minutes

This commit is contained in:
bakerboy448 2023-08-07 11:50:24 -05:00 committed by Qstick
parent 9516729385
commit 58eb24ff89
2 changed files with 3 additions and 3 deletions

View File

@ -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());
}

View File

@ -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); }
}