mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Change default update check interval to hours instead of minutes
This commit is contained in:
parent
73b94782f9
commit
e996c4b375
1 changed files with 6 additions and 5 deletions
|
@ -91,7 +91,7 @@ _CONFIG_DEFINITIONS = {
|
|||
'CACHE_SIZEMB': (int, 'Advanced', 32),
|
||||
'CHECK_DOCKER_MOUNT': (int, 'Advanced', 1),
|
||||
'CHECK_GITHUB': (int, 'General', 1),
|
||||
'CHECK_GITHUB_INTERVAL': (int, 'General', 360),
|
||||
'CHECK_GITHUB_INTERVAL': (int, 'General', 6),
|
||||
'CHECK_GITHUB_ON_STARTUP': (int, 'General', 1),
|
||||
'CHECK_GITHUB_CACHE_SECONDS': (int, 'Advanced', 3600),
|
||||
'CLEANUP_FILES': (int, 'General', 0),
|
||||
|
@ -676,6 +676,7 @@ class Config(object):
|
|||
self.CONFIG_VERSION = 18
|
||||
|
||||
if self.CONFIG_VERSION == 18:
|
||||
if self.CHECK_GITHUB_INTERVAL > 24:
|
||||
self.CHECK_GITHUB_INTERVAL = (
|
||||
int(self.CHECK_GITHUB_INTERVAL // 60)
|
||||
+ (self.CHECK_GITHUB_INTERVAL % 60 > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue