Skip to content
Permalink
Browse files
Decrease the minimum requirement of RAM of single instance to 16MB in…
… Round Robin algorithm (#3678)

Co-authored-by: Windham Wong <windham.wong@stormeye.io>
  • Loading branch information
windhamwong and Windham Wong committed Feb 27, 2021
1 parent d4d3ccc commit 2956293326496a23a92c64fa28d903dfec689ecb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -102,7 +102,7 @@ public class RoundRobinPacking implements IPacking, IRepacking {

@VisibleForTesting
static final ByteAmount DEFAULT_DAEMON_PROCESS_RAM_PADDING = ByteAmount.fromGigabytes(1);
private static final ByteAmount MIN_RAM_PER_INSTANCE = ByteAmount.fromMegabytes(192);
private static final ByteAmount MIN_RAM_PER_INSTANCE = ByteAmount.fromMegabytes(16);

// Use as a stub as default number value when getting config value
private static final ByteAmount NOT_SPECIFIED_BYTE_AMOUNT = ByteAmount.fromBytes(-1);

0 comments on commit 2956293

Please sign in to comment.