Merge pull request #715 from JackDandy/feature/ChangeDisableCPUThrottling

Change CPU throttling on General Config/Advanced to "Disabled" by def…
This commit is contained in:
JackDandy 2016-06-17 00:49:41 +01:00 committed by GitHub
commit e05f92a933
3 changed files with 4 additions and 3 deletions

View file

@ -87,6 +87,7 @@
* Add PTF torrent provider * Add PTF torrent provider
* Add ILT torrent provider * Add ILT torrent provider
* Add Fano torrent provider * Add Fano torrent provider
* Change CPU throttling on General Config/Advanced to "Disabled" by default for new installs
### 0.11.11 (2016-04-05 19:20:00 UTC) ### 0.11.11 (2016-04-05 19:20:00 UTC)

View file

@ -626,7 +626,7 @@
<option value="$cur_preset[0]"#echo ('', $selected)[$cur_preset[0] == $sickbeard.CPU_PRESET]#>$cur_preset[0].capitalize()</option> <option value="$cur_preset[0]"#echo ('', $selected)[$cur_preset[0] == $sickbeard.CPU_PRESET]#>$cur_preset[0].capitalize()</option>
#end for #end for
</select> </select>
<span>Normal (default). High is lower and Low is higher CPU use</span> <span>Disabled (default). High is lower and Low is higher CPU use</span>
</span> </span>
</label> </label>
</div> </div>

View file

@ -123,7 +123,7 @@ HANDLE_REVERSE_PROXY = False
PROXY_SETTING = None PROXY_SETTING = None
PROXY_INDEXERS = True PROXY_INDEXERS = True
CPU_PRESET = 'NORMAL' CPU_PRESET = 'DISABLED'
ANON_REDIRECT = None ANON_REDIRECT = None
@ -649,7 +649,7 @@ def initialize(consoleLogging=True):
WEB_PASSWORD = check_setting_str(CFG, 'General', 'web_password', '') WEB_PASSWORD = check_setting_str(CFG, 'General', 'web_password', '')
LAUNCH_BROWSER = bool(check_setting_int(CFG, 'General', 'launch_browser', 1)) LAUNCH_BROWSER = bool(check_setting_int(CFG, 'General', 'launch_browser', 1))
CPU_PRESET = check_setting_str(CFG, 'General', 'cpu_preset', 'NORMAL') CPU_PRESET = check_setting_str(CFG, 'General', 'cpu_preset', 'DISABLED')
ANON_REDIRECT = check_setting_str(CFG, 'General', 'anon_redirect', '') ANON_REDIRECT = check_setting_str(CFG, 'General', 'anon_redirect', '')
PROXY_SETTING = check_setting_str(CFG, 'General', 'proxy_setting', '') PROXY_SETTING = check_setting_str(CFG, 'General', 'proxy_setting', '')