Increase RamAccountingTermsEnum flush size from 1mb to 5mb
Reduces the number of logs when TRACE logging is turned on for the circuit breaker
This commit is contained in:
parent
2f48be597e
commit
51f869cfc2
|
@ -33,8 +33,8 @@ import java.io.IOException;
|
|||
*/
|
||||
public final class RamAccountingTermsEnum extends FilteredTermsEnum {
|
||||
|
||||
// Flush every 1mb
|
||||
private static final long FLUSH_BUFFER_SIZE = 1024 * 1024;
|
||||
// Flush every 5mb
|
||||
private static final long FLUSH_BUFFER_SIZE = 1024 * 1024 * 5;
|
||||
|
||||
private final MemoryCircuitBreaker breaker;
|
||||
private final TermsEnum termsEnum;
|
||||
|
|
Loading…
Reference in New Issue