mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Reduce maximum nested contexts depth from 16k to 1k
This commit is contained in:
@@ -68,7 +68,7 @@ public class Chaining {
|
||||
return (T) context;
|
||||
}
|
||||
}
|
||||
int maxNestedContexts = 1 << 16;
|
||||
int maxNestedContexts = 1 << 10;
|
||||
if (contextChain.size() > maxNestedContexts) {
|
||||
throw new IllegalStateException("More than " + maxNestedContexts +
|
||||
" nested ChronicleHash contexts are not supported. Very probable that " +
|
||||
|
||||
Reference in New Issue
Block a user