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