[core.config] improvement: default value for the property 'suggestions.by_type' changed to 20

This commit is contained in:
Vinicius Moreira
2022-05-20 11:43:32 -03:00
parent 62a1c4fa3b
commit dbef9a8964
3 changed files with 4 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
<img src="https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.10.3/check_ssl.png"> <img src="https://raw.githubusercontent.com/vinifmor/bauh-files/master/pictures/releases/0.10.3/check_ssl.png">
</p> </p>
- the default value for `suggestions.by_type` is now `20`.
### Fixes ### Fixes
- Arch - Arch
- conflict resolution: removing hard dependencies that would be satisfied with the inclusion of the new package [#268](https://github.com/vinifmor/bauh/issues/268) - conflict resolution: removing hard dependencies that would be satisfied with the inclusion of the new package [#268](https://github.com/vinifmor/bauh/issues/268)

View File

@@ -416,7 +416,7 @@ memory_cache:
data_expiration: 3600 # the interval in SECONDS that data cached in memory will live data_expiration: 3600 # the interval in SECONDS that data cached in memory will live
icon_expiration: 300 # the interval in SECONDS that icons cached in memory will live icon_expiration: 300 # the interval in SECONDS that icons cached in memory will live
suggestions: suggestions:
by_type: 10 # the maximum number of application suggestions that must be retrieved per type by_type: 20 # the maximum number of application suggestions that must be retrieved per type
enabled: true # if suggestions must be displayed when no application is installed enabled: true # if suggestions must be displayed when no application is installed
system: system:
notifications: true # if system popup should be displayed for some events. e.g: when there are updates, bauh will display a system popup notifications: true # if system popup should be displayed for some events. e.g: when there are updates, bauh will display a system popup

View File

@@ -30,7 +30,7 @@ class CoreConfigManager(YAMLConfigManager):
}, },
'suggestions': { 'suggestions': {
'enabled': True, 'enabled': True,
'by_type': 10 'by_type': 20
}, },
'ui': { 'ui': {
'table': { 'table': {