mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-03 22:57:18 +02:00
New: Default RSS Sync Interval to 30 minutes
This commit is contained in:
parent
9516729385
commit
58eb24ff89
@ -31,7 +31,7 @@ public void Add_new_value_to_database()
|
||||
[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 @@ public void get_value_with_persist_should_store_default_value()
|
||||
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 @@ public int RecycleBinCleanupDays
|
||||
|
||||
public int RssSyncInterval
|
||||
{
|
||||
get { return GetValueInt("RssSyncInterval", 60); }
|
||||
get { return GetValueInt("RssSyncInterval", 30); }
|
||||
|
||||
set { SetValue("RssSyncInterval", value); }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user