From 79488dd79fc2e3d9661f609506b968cfceeb8a0b Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 9 Mar 2022 09:36:53 -0300 Subject: [PATCH] [core] updates check interval default to 5 minutes --- CHANGELOG.md | 2 +- README.md | 2 +- bauh/view/core/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eaf77ec1..05bbd277 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - General - minor memory improvements - code refactoring - - update checking interval on tray mode is now measured in minutes instead of seconds (default: 30) + - update checking interval on tray mode is now measured in minutes instead of seconds (default: 5) - Arch - info dialog: diff --git a/README.md b/README.md index bd6eabb2..a3949e61 100644 --- a/README.md +++ b/README.md @@ -409,7 +409,7 @@ ui: theme: defines the path to the theme/stylesheet file with a .qss extension (e.g: /path/to/my/theme.qss). For themes provided by bauh, only a string key is needed (e.g: light). Default: light system_theme: merges the system's theme/stylesheet with bauh's. Default: false. updates: - check_interval: 30 # the updates checking interval in MINUTES + check_interval: 5 # the updates checking interval in minutes ask_for_reboot: true # if a dialog asking for a system reboot should be displayed after a successful upgrade disk: trim: diff --git a/bauh/view/core/config.py b/bauh/view/core/config.py index c931eddc..a9fa7e91 100644 --- a/bauh/view/core/config.py +++ b/bauh/view/core/config.py @@ -18,7 +18,7 @@ class CoreConfigManager(YAMLConfigManager): }, 'locale': None, 'updates': { - 'check_interval': 30, + 'check_interval': 5, 'ask_for_reboot': True }, 'system': {