Reduce InMemoryAuditEventRepository default capacity
Lower the default capacity used in `InMemoryAuditEventRepository` from 4000 to 1000. This should help reduce memory consumption. Fixes gh-9056
This commit is contained in:
parent
77d427af6c
commit
6cdb02050d
|
|
@ -31,7 +31,7 @@ import org.springframework.util.Assert;
|
|||
*/
|
||||
public class InMemoryAuditEventRepository implements AuditEventRepository {
|
||||
|
||||
private static final int DEFAULT_CAPACITY = 4000;
|
||||
private static final int DEFAULT_CAPACITY = 1000;
|
||||
|
||||
private final Object monitor = new Object();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue