mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Merge pull request #1325 from samwiseg00/change/buffer_threshhold
Change the default buffer threshold and bump the version number
This commit is contained in:
commit
863bb4033c
1 changed files with 8 additions and 1 deletions
|
@ -104,7 +104,7 @@ _CONFIG_DEFINITIONS = {
|
||||||
'BROWSER_ON_PMSUPDATE': (int, 'Browser', 0),
|
'BROWSER_ON_PMSUPDATE': (int, 'Browser', 0),
|
||||||
'BROWSER_ON_CONCURRENT': (int, 'Browser', 0),
|
'BROWSER_ON_CONCURRENT': (int, 'Browser', 0),
|
||||||
'BROWSER_ON_NEWDEVICE': (int, 'Browser', 0),
|
'BROWSER_ON_NEWDEVICE': (int, 'Browser', 0),
|
||||||
'BUFFER_THRESHOLD': (int, 'Monitoring', 3),
|
'BUFFER_THRESHOLD': (int, 'Monitoring', 10),
|
||||||
'BUFFER_WAIT': (int, 'Monitoring', 900),
|
'BUFFER_WAIT': (int, 'Monitoring', 900),
|
||||||
'BACKUP_DAYS': (int, 'General', 3),
|
'BACKUP_DAYS': (int, 'General', 3),
|
||||||
'BACKUP_DIR': (str, 'General', ''),
|
'BACKUP_DIR': (str, 'General', ''),
|
||||||
|
@ -913,3 +913,10 @@ class Config(object):
|
||||||
if self.CONFIG_VERSION == 11:
|
if self.CONFIG_VERSION == 11:
|
||||||
self.ANON_REDIRECT = self.ANON_REDIRECT.replace('http://www.nullrefer.com/?',
|
self.ANON_REDIRECT = self.ANON_REDIRECT.replace('http://www.nullrefer.com/?',
|
||||||
'https://www.nullrefer.com/?')
|
'https://www.nullrefer.com/?')
|
||||||
|
self.CONFIG_VERSION = 12
|
||||||
|
|
||||||
|
if self.CONFIG_VERSION == 12:
|
||||||
|
if self.BUFFER_THRESHOLD == 3:
|
||||||
|
self.BUFFER_THRESHOLD = 10
|
||||||
|
|
||||||
|
self.CONFIG_VERSION = 13
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue