Commit dfa2238d authored by echel0n's avatar echel0n

Removed backlog cycle time

parent 21d71b21
# Changelog
- * ba3c129 - 2018-11-06: Release v9.4.19
- * 62acf7f - 2018-11-07: Removed backlog cycle time
- * e7526ee - 2018-11-06: Release v9.4.19
- * d394cb1 - 2018-11-06: Fixed issues with saving provider settings. Added property "in_library" to parsed results to identify search results to library shows.
- * 6d5e91c - 2018-11-06: Release v9.4.18
- * aba32ea - 2018-11-06: Fixed issues with searching TorrentDay provider
......
......@@ -58,7 +58,6 @@ from sickrage.core.processors.auto_postprocessor import AutoPostProcessor
from sickrage.core.queues.postprocessor import PostProcessorQueue
from sickrage.core.queues.search import SearchQueue
from sickrage.core.queues.show import ShowQueue
from sickrage.core.searchers import get_backlog_cycle_time
from sickrage.core.searchers.backlog_searcher import BacklogSearcher
from sickrage.core.searchers.daily_searcher import DailySearcher
from sickrage.core.searchers.failed_snatch_searcher import FailedSnatchSearcher
......@@ -325,7 +324,6 @@ class Core(object):
self.config.autopostprocessor_freq = self.config.min_autopostprocessor_freq
if self.config.daily_searcher_freq < self.config.min_daily_searcher_freq:
self.config.daily_searcher_freq = self.config.min_daily_searcher_freq
self.config.min_backlog_searcher_freq = get_backlog_cycle_time()
if self.config.backlog_searcher_freq < self.config.min_backlog_searcher_freq:
self.config.backlog_searcher_freq = self.config.min_backlog_searcher_freq
if self.config.version_updater_freq < self.config.min_version_updater_freq:
......
......@@ -39,7 +39,6 @@ import sickrage
from sickrage.core.common import SD, WANTED, SKIPPED, Quality
from sickrage.core.helpers import makeDir, generate_secret, auto_type, get_lan_ip, \
extract_zipfile, try_int, checkbox_to_value, generateApiKey, backupVersionedFile
from sickrage.core.searchers import get_backlog_cycle_time
from sickrage.core.websession import WebSession
......@@ -1182,7 +1181,6 @@ class Config(object):
:param freq: New frequency
"""
self.backlog_searcher_freq = try_int(freq, self.defaults['General']['backlog_frequency'])
self.min_backlog_searcher_freq = get_backlog_cycle_time()
if self.backlog_searcher_freq < self.min_backlog_searcher_freq:
self.backlog_searcher_freq = self.min_backlog_searcher_freq
......
......@@ -72,7 +72,4 @@ def new_episode_finder():
special='(specials are not supported)' if not ep_obj.season else '',
))
ep_obj.saveToDB()
def get_backlog_cycle_time():
return max([sickrage.app.config.daily_searcher_freq * 4, 30])
\ No newline at end of file
ep_obj.saveToDB()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment