You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rezconfig.py throws when disabling package_cache_clean_limit to -1 as noted in the the docs inside rezconfig file.
This is written in the docs:
# If > 0, spend up to this many seconds cleaning the cache every time the cache
# is updated. This is a way to keep the cache size under control without having
# to periodically run :option:`rez-pkg-cache --clean`. Set to -1 to disable.
package_cache_clean_limit = 0.5
Setting package_cache_clean_limit = -1 throws:
16:00:38 ERROR ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'>
Environment
OS Rocky Linux 8.9
Rez version 2.113
Rez python version: 3.11
To Reproduce
Set package_cache_clean_limit = -1 as described in the doc
Run rez-config
Expected behavior
It will not throw the error: 16:00:38 ERROR ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'> and disable the package_cache_clean_limit
Actual behavior
It throws an error: 16:00:38 ERROR ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'>
Regression
If applicable, state the last known rez version where the bug did not occur (delete this section if N/A).
The text was updated successfully, but these errors were encountered:
rezconfig.py throws when disabling package_cache_clean_limit to -1 as noted in the the docs inside rezconfig file.
This is written in the docs:
Setting package_cache_clean_limit = -1 throws:
Environment
To Reproduce
Expected behavior
It will not throw the error:
16:00:38 ERROR ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'>
and disable the package_cache_clean_limitActual behavior
It throws an error:
16:00:38 ERROR ConfigurationError: Misconfigured setting 'package_cache_clean_limit': -1 should be instance of <class 'float'>
Regression
If applicable, state the last known rez version where the bug did not occur (delete this section if N/A).
The text was updated successfully, but these errors were encountered: