mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
make flags public just so people can hack it if needed
This commit is contained in:
parent
6f39fce41f
commit
8d08a66e66
@ -101,8 +101,8 @@ public class CachedStreamOutput {
|
||||
|
||||
private static final SoftWrapper<Queue<Entry>> cache = new SoftWrapper<Queue<Entry>>();
|
||||
private static final AtomicInteger counter = new AtomicInteger();
|
||||
private static final int BYTES_LIMIT = 10 * 1024 * 1024; // don't cache entries that are bigger than that...
|
||||
private static final int COUNT_LIMIT = 100;
|
||||
public static int BYTES_LIMIT = 10 * 1024 * 1024; // don't cache entries that are bigger than that...
|
||||
public static int COUNT_LIMIT = 100;
|
||||
|
||||
public static void clear() {
|
||||
cache.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user