Repository: pymedusa/Medusa

Issue:
Saving Search settings results in API v2 Warning
**Describe the bug**
When I enable or disable `Cache Trimming` and save the settings I get the following Warning in my log.
```
2021-03-09 09:52:49 WARNING  APIv2-Thread_9 :: [55cecb9] Config patch ignored {'search': {'general': {'downloadHandlerFrequency': 60, 'mindownloadHandlerFrequency': 5}}}
```


**Medusa (please complete the following information):**

Medusa Info: | Branch:                 master                  Commit:                 55cecb9e821fb15f20efe75b0f59d13e896e1d87                  Version:                 0.5.10                  Database:                 44.18
-- | --
Python Version: | 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)]
SSL Version: | OpenSSL 1.1.1i  8 Dec 2020
OS: | Windows-10-10.0.17763-SP0
Locale: | nl_NL.cp1252


Discussion:

Resolving patch:
diff --git a/medusa/server/api/v2/config.py b/medusa/server/api/v2/config.py
--- a/medusa/server/api/v2/config.py
+++ b/medusa/server/api/v2/config.py
@@ -815,8 +815,6 @@ def data_search():
         section_data['general']['minBacklogFrequency'] = int(app.MIN_BACKLOG_FREQUENCY)
         section_data['general']['dailySearchFrequency'] = int_default(app.DAILYSEARCH_FREQUENCY, app.DEFAULT_DAILYSEARCH_FREQUENCY)
         section_data['general']['minDailySearchFrequency'] = int(app.MIN_DAILYSEARCH_FREQUENCY)
-        section_data['general']['downloadHandlerFrequency'] = int_default(app.DOWNLOAD_HANDLER_FREQUENCY, app.DEFAULT_DOWNLOAD_HANDLER_FREQUENCY)
-        section_data['general']['mindownloadHandlerFrequency'] = int(app.MIN_DOWNLOAD_HANDLER_FREQUENCY)
         section_data['general']['usenetRetention'] = int_default(app.USENET_RETENTION, 500)
         section_data['general']['trackersList'] = app.TRACKERS_LIST
         section_data['general']['allowHighPriority'] = bool(app.ALLOW_HIGH_PRIORITY)


Test patch:
diff --git a/tests/apiv2/test_config.py b/tests/apiv2/test_config.py
--- a/tests/apiv2/test_config.py
+++ b/tests/apiv2/test_config.py
@@ -747,8 +747,6 @@ def config_search():
     section_data['general']['minBacklogFrequency'] = int(app.MIN_BACKLOG_FREQUENCY)
     section_data['general']['dailySearchFrequency'] = int_default(app.DAILYSEARCH_FREQUENCY, app.DEFAULT_DAILYSEARCH_FREQUENCY)
     section_data['general']['minDailySearchFrequency'] = int(app.MIN_DAILYSEARCH_FREQUENCY)
-    section_data['general']['downloadHandlerFrequency'] = int_default(app.DOWNLOAD_HANDLER_FREQUENCY, app.DEFAULT_DOWNLOAD_HANDLER_FREQUENCY)
-    section_data['general']['mindownloadHandlerFrequency'] = int(app.MIN_DOWNLOAD_HANDLER_FREQUENCY)
     section_data['general']['usenetRetention'] = int_default(app.USENET_RETENTION, 500)
     section_data['general']['trackersList'] = app.TRACKERS_LIST
     section_data['general']['allowHighPriority'] = bool(app.ALLOW_HIGH_PRIORITY)
diff --git a/themes-default/slim/test/__fixtures__/common.json b/themes-default/slim/test/__fixtures__/common.json
--- a/themes-default/slim/test/__fixtures__/common.json
+++ b/themes-default/slim/test/__fixtures__/common.json
@@ -1285,8 +1285,6 @@
                     "minBacklogFrequency": 720,
                     "dailySearchFrequency": 10,
                     "minDailySearchFrequency": 10,
-                    "downloadHandlerFrequency": 60,
-                    "mindownloadHandlerFrequency": 30,
                     "usenetRetention": 500,
                     "trackersList": [
                         "udp://tracker.coppersurfer.tk:6969/announce",