From c8b82d2ba4418253aff0ae941b19abbf33fdfb4c Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 5 Aug 2021 21:54:57 +0200 Subject: [PATCH] Config: Reduce minimum memory requirement to 2 GB see #1135, #1390, and #1397 --- internal/config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 37bab7a6f..a45232f14 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -45,13 +45,13 @@ const ApiUri = "/api/v1" const StaticUri = "/static" // Megabyte in bytes. -const Megabyte = 1024 * 1024 +const Megabyte = 1000 * 1000 // Gigabyte in bytes. -const Gigabyte = Megabyte * 1024 +const Gigabyte = Megabyte * 1000 // MinMem is the minimum amount of system memory required. -const MinMem = 3 * Gigabyte +const MinMem = 2 * Gigabyte // RecommendedMem is the recommended amount of system memory. const RecommendedMem = 5 * Gigabyte