From dfae162175cb0d8c4195d07bb5cedd8b0a7548ca Mon Sep 17 00:00:00 2001 From: Massimiliano Date: Fri, 9 Aug 2024 12:14:38 +0200 Subject: [PATCH] Add new steps to the interpolation (bugfix) (#1410) Add new steps to the interpolation --- providers/base/bin/memory_compare.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/providers/base/bin/memory_compare.py b/providers/base/bin/memory_compare.py index 6ad7089638..827eef974e 100755 --- a/providers/base/bin/memory_compare.py +++ b/providers/base/bin/memory_compare.py @@ -88,6 +88,10 @@ def get_threshold(installed_memory): return 25 elif installed_memory <= 6 * GB: return 20 + elif installed_memory <= 8 * GB: + return 15 + elif installed_memory <= 16 * GB: + return 12 else: return 10